Fix parallel flags for profiler GUI build in linux workflow.

GitHub runners: limit to 2 jobs
Non-gimped environments: use all you got.
This commit is contained in:
Bartosz Taudul
2026-08-09 12:11:19 +02:00
parent f57986e17d
commit a8f9faf496

View File

@@ -38,9 +38,9 @@ jobs:
run: |
cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}
if [ "${ACT:-}" != "true" ] && [ "${FORGEJO_ACTIONS:-}" != "true" ]; then
cmake --build profiler/build
else
cmake --build profiler/build --parallel 2
else
cmake --build profiler/build --parallel
fi
- name: Update utility
run: |