Skip to content

Commit

Permalink
ENH: Add WebAssembly CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 10, 2023
1 parent f0d18e3 commit 336b154
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion wasm/ITKCleaverWasm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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<PipelineFunctor,
//uint8_t,
Expand Down

0 comments on commit 336b154

Please sign in to comment.