feat: add capture tools
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 2m38s

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

View File

@@ -34,21 +34,26 @@ jobs:
mkdir -p build mkdir -p build
export CC=clang export CC=clang
export CXX=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 - name: Build Tracy
run: | run: |
cd tracy cd tracy
cmake --build build -- -j$(nproc) cmake --build build-prifler -- -j$(nproc)
cmake --build build-capture -- -j$(nproc)
- name: Package release - name: Package release
run: | run: |
VERSION="${{ steps.version.outputs.version }}" 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 - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: tracy-package name: tracy-package
path: tracy-profiler-${VERSION} path: |
tracy-profiler-${VERSION}
tracy-capture-${VERSION}
retention-days: 30 retention-days: 30