diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml new file mode 100644 index 0000000..2dbd2e2 --- /dev/null +++ b/.github/workflows/wasm.yml @@ -0,0 +1,23 @@ +name: WebAssembly + +on: [push,pull_request] + +jobs: + Build WebAssembly: + name: Build WebAssembly + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install + run: | + npm install + + - name: Build + run: | + npm run build diff --git a/wasm/ITKCleaverWasm.cxx b/wasm/ITKCleaverWasm.cxx index 95a4275..5ca95a2 100644 --- a/wasm/ITKCleaverWasm.cxx +++ b/wasm/ITKCleaverWasm.cxx @@ -98,7 +98,7 @@ class PipelineFunctor int main( int argc, char * argv[] ) { - itk::wasm::Pipeline pipeline("itk-cleaver-wasm", "Create a multi-material mesh suitable for simulation/modeling from an input label image or indicator function images", argc, argv); + itk::wasm::Pipeline pipeline("itk-cleaver", "Create a multi-material mesh suitable for simulation/modeling from an input label image or indicator function images", argc, argv); return itk::wasm::SupportInputImageTypes