Skip to content

Commit

Permalink
Add ignore errors to let the build continue
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaam committed Feb 6, 2025
1 parent c5b282c commit a4e643a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
expensive-tests: false
continue-on-error: true
use-keep-going: true
use-ignore-errors: true
- compiler: clang
compiler-version: 16
asan-flags: "-fsanitize=address -fno-omit-frame-pointer"
Expand Down Expand Up @@ -105,7 +106,11 @@ jobs:
if [[ "${{ matrix.use-keep-going }}" == "true" ]]; then
KEEP_GOING="-k"
fi
cmake --build ${{github.workspace}}/build --config ${{matrix.build-type}} -- $KEEP_GOING -j $(nproc)
IGNORE_ERRORS=""
if [[ "${{ matrix.use-ignore-errors }}" == "true" ]]; then
IGNORE_ERRORS="-i"
fi
cmake --build ${{github.workspace}}/build --config ${{matrix.build-type}} -- $IGNORE_ERRORS $KEEP_GOING -j $(nproc)
- name: Test
working-directory: ${{github.workspace}}/build/test
Expand Down

0 comments on commit a4e643a

Please sign in to comment.