Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add test-wasm CI run, on demand only
  • Loading branch information
ianthomas23 committed Feb 5, 2026
commit d2f7b4b2ceda0e51d137f74b534db1b5e7474caa
46 changes: 46 additions & 0 deletions .github/workflows/test-wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Test WebAssembly build in cockle deployment
name: Test WebAssembly

on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.14'

- name: Install mamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: wasm/wasm-environment.yml
cache-environment: true

- name: Build
shell: bash -l {0}
working-directory: wasm
run: |
cmake .
make build-recipe
make built-test

- name: Upload artifact containing emscripten-forge package
uses: actions/upload-pages-artifact@v4
with:
path: ./wasm/recipe/em-forge-recipes/output/

- name: Run WebAssembly tests
shell: bash -l {0}
working-directory: wasm
run: |
make test