feat: add capture tools
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 2m38s
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 2m38s
This commit is contained in:
@@ -34,21 +34,26 @@ jobs:
|
||||
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-prifler -- -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
|
||||
|
||||
Reference in New Issue
Block a user