mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
* 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() }}
|
||||
|
||||
strategy:
|
||||
max-parallel: 2
|
||||
matrix:
|
||||
## notice how on linux everything is lowercase, `cd GBE_Build`, then: `make help`
|
||||
cfg: [ 'debug', 'release', 'experimentaldebug', 'experimentalrelease', ]
|
||||
@ -90,9 +91,9 @@ jobs:
|
||||
working-directory: ${{ github.workspace }}/GBE_Build
|
||||
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..."
|
||||
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)
|
||||
- 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() }}
|
||||
|
||||
strategy:
|
||||
max-parallel: 2
|
||||
matrix:
|
||||
prj: [ 'GameOverlayRenderer', 'GenerateInterfaces', 'SteamClient', 'SteamEmu', ]
|
||||
arch: [ 'x64', 'Win32', ]
|
||||
|
Loading…
Reference in New Issue
Block a user