fix: build profiler
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 3m53s

This commit is contained in:
tqcq
2025-10-16 09:17:12 +08:00
parent 54808f008a
commit 227884fa4d

View File

@@ -32,22 +32,17 @@ jobs:
run: |
cd tracy
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
cmake -Sprofiler -Bbuild -DCMAKE_BUILD_TYPE=Release
- name: Build Tracy
run: |
cd tracy/build
make -j$(nproc)
cmake --build build -- -j$(nproc)
- name: Package release
run: |
VERSION="${{ steps.version.outputs.version }}"
mkdir -p release
cp tracy/build/Tracy release/Tracy-${VERSION}
if [[ -f tracy/public/tracy.pdf ]]; then
cp tracy/public/tracy.pdf release/
fi
cp tracy/build/tracy-profiler release/Tracy-${VERSION}
zip -r release/Tracy-${VERSION}.zip release/*
- name: Upload artifact