File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # Test WebAssembly build in cockle deployment
2+ name : Test WebAssembly
3+
4+ on :
5+ workflow_dispatch :
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v6
17+
18+ - name : Setup Python
19+ uses : actions/setup-python@v6
20+ with :
21+ python-version : ' 3.14'
22+
23+ - name : Install mamba
24+ uses : mamba-org/setup-micromamba@v2
25+ with :
26+ environment-file : wasm/wasm-environment.yml
27+ cache-environment : true
28+
29+ - name : Build
30+ shell : bash -l {0}
31+ working-directory : wasm
32+ run : |
33+ cmake .
34+ make build-recipe
35+ make built-test
36+
37+ - name : Upload artifact containing emscripten-forge package
38+ uses : actions/upload-pages-artifact@v4
39+ with :
40+ path : ./wasm/recipe/em-forge-recipes/output/
41+
42+ - name : Run WebAssembly tests
43+ shell : bash -l {0}
44+ working-directory : wasm
45+ run : |
46+ make test
You can’t perform that action at this time.
0 commit comments