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

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:
Kelsi 2026-04-02 14:49:14 -07:00
parent fe1c4c622b
commit 7f4c274e35

View file

@ -24,9 +24,11 @@ jobs:
- arch: x86-64 - arch: x86-64
runner: ubuntu-24.04 runner: ubuntu-24.04
deb_arch: amd64 deb_arch: amd64
build_jobs: $(nproc)
- arch: arm64 - arch: arm64
runner: ubuntu-24.04-arm runner: ubuntu-24.04-arm
deb_arch: arm64 deb_arch: arm64
build_jobs: 2
steps: steps:
- name: Checkout - name: Checkout
@ -97,19 +99,19 @@ jobs:
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWOWEE_ENABLE_AMD_FSR2=ON run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWOWEE_ENABLE_AMD_FSR2=ON
- name: Assert AMD FSR2 target - 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) - name: Assert AMD FSR3 framegen probe target (if present)
run: | run: |
set -euo pipefail set -euo pipefail
if cmake --build build --target help | grep -q 'wowee_fsr3_framegen_amd_vk_probe'; then 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 else
echo "FSR3 framegen probe target not generated for this SDK layout; continuing." echo "FSR3 framegen probe target not generated for this SDK layout; continuing."
fi fi
- name: Build - name: Build
run: cmake --build build --parallel $(nproc) run: cmake --build build --parallel ${{ matrix.build_jobs }}
- name: Package (DEB) - name: Package (DEB)
run: cd build && cpack -G DEB run: cd build && cpack -G DEB