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"
|
git clone https://github.com/microsoft/vcpkg.git "$VCPKG_ROOT"
|
||||||
"$VCPKG_ROOT/bootstrap-vcpkg.sh"
|
"$VCPKG_ROOT/bootstrap-vcpkg.sh"
|
||||||
"$VCPKG_ROOT/vcpkg" install $DEPS_VCPKG
|
"$VCPKG_ROOT/vcpkg" install $DEPS_VCPKG
|
||||||
# compilation (using bulk compilation)
|
- name: compilation (using bulk compilation)
|
||||||
- run: make all CALL=compile -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
|
run: make all CALL=compile -j
|
||||||
# executing unit tests (using bulk flags)
|
- name: unit tests (using bulk flags)
|
||||||
- run: make all CALL=run DEBUG=test -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
|
run: make all CALL=run DEBUG=test -j
|
||||||
# exit if any errors occurred
|
|
||||||
- name: exit on errors
|
|
||||||
run: |
|
|
||||||
[ "$JOB_FAILED" != "1" ]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user