mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
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:
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user