fix: there is no need to let the compilation continue if it fails.

it actually makes it less easy to locate errors.
This commit is contained in:
2025-07-24 16:06:56 +02:00
parent f3273ed5d0
commit 1ea37b6e86

View File

@@ -43,11 +43,7 @@ jobs:
git clone https://github.com/microsoft/vcpkg.git "$VCPKG_ROOT"
"$VCPKG_ROOT/bootstrap-vcpkg.sh"
"$VCPKG_ROOT/vcpkg" install $DEPS_VCPKG
# compilation (using bulk compilation)
- run: make all CALL=compile -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
# executing unit tests (using bulk flags)
- run: make all CALL=run DEBUG=test -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
# exit if any errors occurred
- name: exit on errors
run: |
[ "$JOB_FAILED" != "1" ]
- name: compilation (using bulk compilation)
run: make all CALL=compile -j
- name: unit tests (using bulk flags)
run: make all CALL=run DEBUG=test -j