Skip to content

Commit af398e1

Browse files
committed
CI: if multi-threaded build fails, try single threaded
1 parent 204a155 commit af398e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/compilation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- name: Compile project ${{ matrix.debug }}
2525
run: |
2626
make -j $(getconf _NPROCESSORS_ONLN) clean
27-
make -j $(getconf _NPROCESSORS_ONLN) ${{ matrix.debug }}
27+
make -j $(getconf _NPROCESSORS_ONLN) ${{ matrix.debug }} || make clean
28+
make -j ${{ matrix.debug }}
2829
make -j $(getconf _NPROCESSORS_ONLN) install
2930
# Create symbolink links using relative paths
3031
(cd $PS2DEV/ee/mips64r5900el-ps2-elf/lib && ln -sf ../../../ps2sdk/ee/lib/libcglue.a libcglue.a && cd -)

0 commit comments

Comments
 (0)