File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : emscripten
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ container : archlinux:base-devel
13+ steps :
14+ - name : Install dependencies
15+ run : pacman -Syu --noconfirm && pacman -S --noconfirm --needed cmake git unzip python ninja
16+ - name : Setup emscripten
17+ uses : mymindstorm/setup-emsdk@v14
18+ with :
19+ version : 3.1.67
20+ - uses : actions/checkout@v4
21+ - name : Profiler GUI
22+ run : |
23+ cmake -G Ninja -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=${{env.EMSDK}}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
24+ cmake --build profiler/build --parallel
25+ - name : Compress artifacts
26+ run : |
27+ gzip -9 profiler/build/tracy-profiler.js profiler/build/tracy-profiler.wasm
28+ - name : Find Artifacts
29+ id : find_artifacts
30+ run : |
31+ mkdir -p bin
32+ cp profiler/build/index.html bin
33+ cp profiler/build/tracy-profiler.data bin
34+ cp profiler/build/tracy-profiler.js.gz bin
35+ cp profiler/build/tracy-profiler.wasm.gz bin
36+ - uses : actions/upload-artifact@v4
37+ with :
38+ name : emscripten
39+ path : bin
You can’t perform that action at this time.
0 commit comments