integrated drive link and custom popup views #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
# - ubuntu-16.04 | |
- ubuntu-18.04 | |
# no libssl on windows | |
# - windows-latest | |
perl: | |
# - '5.22' | |
- '5.26' | |
- '5.30' | |
node: | |
# - '10.x' | |
- '13.x' | |
# exclude: | |
#- os: ubuntu-16.04 | |
# perl: '5.26' | |
#- os: ubuntu-16.04 | |
# perl: '5.30' | |
#- os: ubuntu-16.04 | |
# node: '13.x' | |
#- os: ubuntu-18.04 | |
# perl: '5.22' | |
#- os: windows-latest | |
# perl: '5.22' | |
#- os: windows-latest | |
# perl: '5.26' | |
fail-fast: false | |
name: node-${{ matrix.node }}/perl${{ matrix.perl }}/${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
- name: CPAN Cache | |
id: cpan-cache | |
uses: actions/cache@v1 | |
with: | |
path: thirdparty/lib | |
key: ${{ matrix.os }}-cpan-${{ matrix.perl }}-${{ hashFiles('**/cpanfile') }} | |
- name: Node Cache | |
id: node-cache | |
uses: actions/cache@v1 | |
with: | |
path: frontend/node_modules | |
key: ${{ matrix.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
${{ matrix.os }}-node-${{ matrix.node }}- | |
- name: Install Gettext | |
run: sudo apt-get install gettext | |
- name: Bootstrap | |
run: ./bootstrap | |
- name: Configure | |
run: ./configure --prefix=$HOME/test-install | |
- name: Make | |
run: make | |
- name: Test | |
run: | | |
cp etc/oktdb.dist.yaml etc/oktdb.yaml | |
make test | |
- name: Build Dist | |
run: | | |
make dist | |
tar xf oktdb-$(cat VERSION).tar.gz | |
cd oktdb-$(cat VERSION) | |
./configure --prefix=$HOME/test-install | |
make | |
cp etc/oktdb.dist.yaml etc/oktdb.yaml | |
make test | |
make install | |
cd $HOME/test-install | |
cp etc/oktdb.dist.yaml etc/oktdb.yaml | |
./bin/oktdb.pl | |