feat: add capture tools
All checks were successful
Build and Package Tracy Profiler / build (push) Successful in 3m1s

This commit is contained in:
tqcq
2025-10-16 14:38:23 +08:00
parent 6f4af95f54
commit 9853562c2b

View File

@@ -31,24 +31,28 @@ jobs:
- name: Configure CMake
run: |
cd tracy
mkdir -p build
export CC=clang
export CXX=clang++
cmake -Sprofiler -Bbuild -DCMAKE_BUILD_TYPE=Release -DLEGACY=ON
cmake -Sprofiler -Bbuild-profiler -DCMAKE_BUILD_TYPE=Release -DLEGACY=ON
cmake -Scapture -Bbuild-capture -DCMAKE_BUILD_TYPE=Release -DLEGACY=ON
- name: Build Tracy
run: |
cd tracy
cmake --build build -- -j$(nproc)
cmake --build build-profiler -- -j$(nproc)
cmake --build build-capture -- -j$(nproc)
- name: Package release
run: |
VERSION="${{ steps.version.outputs.version }}"
cp tracy/build/tracy-profiler tracy-profiler-${VERSION}
cp tracy/build-profiler/tracy-profiler tracy-profiler-${VERSION}
cp tracy/build-capture/tracy-capture tracy-capture-${VERSION}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: tracy-package
path: tracy-profiler-${VERSION}
path: |
tracy-profiler-${VERSION}
tracy-capture-${VERSION}
retention-days: 30