fix: build profiler
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 3m53s
Some checks failed
Build and Package Tracy Profiler / build (push) Failing after 3m53s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user