Multiple schemata to validator support #258
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: Sagittarius CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
Build: | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- { os: 'ubuntu-latest', setup: '.ci/setup-ubuntu.sh' } | |
- { os: 'macos-latest', setup: '.ci/setup-macos.sh' } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
path: target | |
- name: Install dependencies | |
run: | | |
bash "target/${{ matrix.config.setup }}" "sudo" | |
mkdir current_sagittarius | |
- name: Install current sagittarius | |
working-directory: current_sagittarius | |
run: | | |
bash ../target/.ci/build-current.sh 'yes' | |
- name: Pre-build | |
working-directory: target | |
run: | | |
./dist.sh gen | |
cmake . | |
- name: Build | |
working-directory: target | |
run: make | |
- name: Test | |
working-directory: target | |
run: make test | |
- name: JSON related tests | |
working-directory: target | |
run: make test-jsons |