Reenable LTO, disable parallel build on GitHub runners.

This commit is contained in:
Bartosz Taudul
2026-04-01 00:38:40 +02:00
parent b18b7461e4
commit a861c6671c

View File

@@ -28,8 +28,12 @@ jobs:
restore-keys: ${{ runner.os }}-cpm-
- name: Profiler GUI
run: |
cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DNO_LTO=ON -DGIT_REV=${{ github.sha }}
cmake --build profiler/build --parallel
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
fi
- name: Update utility
run: |
cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}