mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
fix(ci): limit arm64 Linux build parallelism to avoid OOM
Some checks are pending
Build / Build (arm64) (push) Waiting to run
Build / Build (x86-64) (push) Waiting to run
Build / Build (macOS arm64) (push) Waiting to run
Build / Build (windows-arm64) (push) Waiting to run
Build / Build (windows-x86-64) (push) Waiting to run
Security / CodeQL (C/C++) (push) Waiting to run
Security / Semgrep (push) Waiting to run
Security / Sanitizer Build (ASan/UBSan) (push) Waiting to run
Some checks are pending
Build / Build (arm64) (push) Waiting to run
Build / Build (x86-64) (push) Waiting to run
Build / Build (macOS arm64) (push) Waiting to run
Build / Build (windows-arm64) (push) Waiting to run
Build / Build (windows-x86-64) (push) Waiting to run
Security / CodeQL (C/C++) (push) Waiting to run
Security / Semgrep (push) Waiting to run
Security / Sanitizer Build (ASan/UBSan) (push) Waiting to run
The ubuntu-24.04-arm runner is memory-constrained and the full parallel Release build was being killed by the OOM reaper, causing the Build step to fail silently with no log output. Cap at 2 jobs.
This commit is contained in:
parent
fe1c4c622b
commit
7f4c274e35
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -24,9 +24,11 @@ jobs:
|
|||
- arch: x86-64
|
||||
runner: ubuntu-24.04
|
||||
deb_arch: amd64
|
||||
build_jobs: $(nproc)
|
||||
- arch: arm64
|
||||
runner: ubuntu-24.04-arm
|
||||
deb_arch: arm64
|
||||
build_jobs: 2
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -97,19 +99,19 @@ jobs:
|
|||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWOWEE_ENABLE_AMD_FSR2=ON
|
||||
|
||||
- name: Assert AMD FSR2 target
|
||||
run: cmake --build build --target wowee_fsr2_amd_vk --parallel $(nproc)
|
||||
run: cmake --build build --target wowee_fsr2_amd_vk --parallel ${{ matrix.build_jobs }}
|
||||
|
||||
- name: Assert AMD FSR3 framegen probe target (if present)
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if cmake --build build --target help | grep -q 'wowee_fsr3_framegen_amd_vk_probe'; then
|
||||
cmake --build build --target wowee_fsr3_framegen_amd_vk_probe --parallel $(nproc)
|
||||
cmake --build build --target wowee_fsr3_framegen_amd_vk_probe --parallel ${{ matrix.build_jobs }}
|
||||
else
|
||||
echo "FSR3 framegen probe target not generated for this SDK layout; continuing."
|
||||
fi
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build --parallel $(nproc)
|
||||
run: cmake --build build --parallel ${{ matrix.build_jobs }}
|
||||
|
||||
- name: Package (DEB)
|
||||
run: cd build && cpack -G DEB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue