mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-01 17:34:36 +00:00
Provide zstd compressed files.
This commit is contained in:
parent
684c34dc21
commit
9c5c082d83
5
.github/workflows/emscripten.yml
vendored
5
.github/workflows/emscripten.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
container: archlinux:base-devel
|
container: archlinux:base-devel
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed cmake git unzip python ninja
|
run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed cmake git unzip python ninja zstd
|
||||||
- name: Setup emscripten
|
- name: Setup emscripten
|
||||||
uses: mymindstorm/setup-emsdk@v14
|
uses: mymindstorm/setup-emsdk@v14
|
||||||
with:
|
with:
|
||||||
@ -26,6 +26,7 @@ jobs:
|
|||||||
cmake --build profiler/build --parallel
|
cmake --build profiler/build --parallel
|
||||||
- name: Compress artifacts
|
- name: Compress artifacts
|
||||||
run: |
|
run: |
|
||||||
|
zstd -18 profiler/build/tracy-profiler.js profiler/build/tracy-profiler.wasm
|
||||||
gzip -9 profiler/build/tracy-profiler.js profiler/build/tracy-profiler.wasm
|
gzip -9 profiler/build/tracy-profiler.js profiler/build/tracy-profiler.wasm
|
||||||
- name: Find Artifacts
|
- name: Find Artifacts
|
||||||
id: find_artifacts
|
id: find_artifacts
|
||||||
@ -34,7 +35,9 @@ jobs:
|
|||||||
cp profiler/build/index.html bin
|
cp profiler/build/index.html bin
|
||||||
cp profiler/build/tracy-profiler.data bin
|
cp profiler/build/tracy-profiler.data bin
|
||||||
cp profiler/build/tracy-profiler.js.gz bin
|
cp profiler/build/tracy-profiler.js.gz bin
|
||||||
|
cp profiler/build/tracy-profiler.js.zst bin
|
||||||
cp profiler/build/tracy-profiler.wasm.gz bin
|
cp profiler/build/tracy-profiler.wasm.gz bin
|
||||||
|
cp profiler/build/tracy-profiler.wasm.zst bin
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: emscripten
|
name: emscripten
|
||||||
|
Loading…
Reference in New Issue
Block a user