fix: patch for release build #99
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
# Cancel any in-flight jobs for the same PR/branch so there's only one active | |
# at a time | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
mode: [debug, release] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 'lts/*' | |
- name: Build StarlingMonkey | |
run: | | |
cmake -S . -B "cmake-build-${{matrix.mode}}" -DCMAKE_BUILD_TYPE=${{matrix.mode == 'debug' && 'Debug' || 'Release'}} | |
cmake --build cmake-build-${{matrix.mode}} --parallel 4 --target all integration-test-server | |
- name: StarlingMonkey E2E & Integration Tests | |
run: | | |
CTEST_OUTPUT_ON_FAILURE=1 ctest --test-dir cmake-build-${{matrix.mode}} -j4 | |