File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ env :
2+ EM_VERSION : 1.39.18
3+ EM_CACHE_FOLDER : ' emsdk-cache'
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - name : Setup cache
11+ id : cache-system-libraries
12+ uses : actions/cache@v2
13+ with :
14+ path : ${{env.EM_CACHE_FOLDER}}
15+ key : ${{env.EM_VERSION}}-${{ runner.os }}
16+ - uses : mymindstorm/setup-emsdk@v14
17+ with :
18+ version : ${{env.EM_VERSION}}
19+ actions-cache-folder : ${{env.EM_CACHE_FOLDER}}
20+ - name : Build AudioEngine
21+ run : emcc -std=c++11 -lembind -s ALLOW_MEMORY_GROWTH -s EXPORTED_FUNCTIONS="['_malloc', '_free']" -s AUDIO_WORKLET=1 -s WASM_WORKERS=1 -O3 --emit-tsd audioengine.ts.d -o build/audioengine.js audioengine.cpp
22+ - name : Upload artifact
23+ uses : actions/upload-pages-artifact@v3
24+ with :
25+ path : ./build
You can’t perform that action at this time.
0 commit comments