mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:25:45 +01:00
allow the workflow to continue on some errors, since they're non-fatal
Signed-off-by: Quinn <99677023+thepigeongenerator@users.noreply.github.com>
This commit is contained in:
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@@ -43,10 +43,13 @@ jobs:
|
||||
#
|
||||
# compilation
|
||||
#
|
||||
- run: make compile MARCH=x86_64 KERNEL=linux CC=x86_64-linux-gnu-gcc -j
|
||||
- run: make compile MARCH=x86_64 KERNEL=mingw CC=x86_64-w64-mingw32-gcc -j
|
||||
- run: make compile MARCH=x86_64 KERNEL=linux CC=x86_64-linux-gnu-gcc -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
|
||||
- run: make compile MARCH=x86_64 KERNEL=mingw CC=x86_64-w64-mingw32-gcc -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
|
||||
#
|
||||
# executing unit tests
|
||||
#
|
||||
- run: make run MARCH=x86_64 KERNEL=linux CC=x86_64-linux-gnu-gcc DEBUG=test -j
|
||||
- run: make run MARCH=x86_64 KERNEL=linux CC=x86_64-linux-gnu-gcc DEBUG=test -j || echo "JOB_FAILED=1" >>"$GITHUB_ENV"
|
||||
# WARN: not testing windows, probably should do that
|
||||
- name: exit on errors
|
||||
run: |
|
||||
[ "$JOB_FAILED" != "1" ]
|
||||
|
||||
Reference in New Issue
Block a user