Skip to content

Merge pull request #158 from aylward/ITKv5_CONST_GONE #86

Merge pull request #158 from aylward/ITKv5_CONST_GONE

Merge pull request #158 from aylward/ITKv5_CONST_GONE #86

Workflow file for this run

name: WebAssembly
on: [push,pull_request]
jobs:
build-wasm:
name: "Build WebAssembly"
runs-on: ubuntu-22.04
steps:
- name: 'Free up disk space'
run: |
# Workaround for https://github.com/actions/virtual-environments/issues/709
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf /usr/share/dotnet/
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install
run: |
npm install
- name: Build
run: |
npm run build
- name: Build TypeScript / JavaScript package
run: |
cd wasm/typescript
npm install
npm run build