File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : WebChucK IDE Development - Emscripten Build
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Setup and cache Emscripten
17+ uses : mymindstorm/setup-emsdk@v14
18+ with :
19+ # Make sure to set a version number!
20+ version : 3.1.57
21+ # This is the name of the cache folder.
22+ # The cache folder will be placed in the build directory,
23+ # so make sure it doesn't conflict with anything!
24+ actions-cache-folder : ' emsdk-cache'
25+
26+ - name : Compile - Web
27+ run : cd src/ && make -j web
28+
29+ - name : Copy files to server
30+ 31+ with :
32+ host : ${{ secrets.HOST_WEBCHUCK }}
33+ username : ${{ secrets.HOST_USERNAME }}
34+ key : ${{ secrets.PRIVATEKEY_WEBCHUCK }}
35+ source : " src/host-web/webchuck/js/webchuck.js, src/host-web/webchuck/js/webchuck.wasm"
36+ target : ${{ secrets.PATH_WEBCHUCK_DEV }}
37+ strip_components : 4
You can’t perform that action at this time.
0 commit comments