* limit parallel jobs to 2 for each os, hopefully would fix the random cancellation
* use clang instead of gcc because of this error `g++: error: unrecognized command-line option ‘-Wundefined-internal’`
This commit is contained in:
parent
372824aee3
commit
4843527422
5
.github/workflows/emu-build-all-linux.yml
vendored
5
.github/workflows/emu-build-all-linux.yml
vendored
@ -29,6 +29,7 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 2
|
||||||
matrix:
|
matrix:
|
||||||
## notice how on linux everything is lowercase, `cd GBE_Build`, then: `make help`
|
## notice how on linux everything is lowercase, `cd GBE_Build`, then: `make help`
|
||||||
cfg: [ 'debug', 'release', 'experimentaldebug', 'experimentalrelease', ]
|
cfg: [ 'debug', 'release', 'experimentaldebug', 'experimentalrelease', ]
|
||||||
@ -90,9 +91,9 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}/GBE_Build
|
working-directory: ${{ github.workspace }}/GBE_Build
|
||||||
run: |
|
run: |
|
||||||
echo "dry run..."
|
echo "dry run..."
|
||||||
make -n -j 2 config=${{ matrix.cfg }}_${{ matrix.arch }} ${{ matrix.prj }}
|
CC=clang CXX=clang++ make -n -j 2 config=${{ matrix.cfg }}_${{ matrix.arch }} ${{ matrix.prj }}
|
||||||
echo "actual run..."
|
echo "actual run..."
|
||||||
make -j 2 config=${{ matrix.cfg }}_${{ matrix.arch }} ${{ matrix.prj }}
|
CC=clang CXX=clang++ make -j 2 config=${{ matrix.cfg }}_${{ matrix.arch }} ${{ matrix.prj }}
|
||||||
|
|
||||||
### upload artifact/package to github Actions (for targets)
|
### upload artifact/package to github Actions (for targets)
|
||||||
- name: Upload build package (for targets)
|
- name: Upload build package (for targets)
|
||||||
|
1
.github/workflows/emu-build-all-win.yml
vendored
1
.github/workflows/emu-build-all-win.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 2
|
||||||
matrix:
|
matrix:
|
||||||
prj: [ 'GameOverlayRenderer', 'GenerateInterfaces', 'SteamClient', 'SteamEmu', ]
|
prj: [ 'GameOverlayRenderer', 'GenerateInterfaces', 'SteamClient', 'SteamEmu', ]
|
||||||
arch: [ 'x64', 'Win32', ]
|
arch: [ 'x64', 'Win32', ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user