Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
d8f4fb0
build(docker): use dockcross/web-wasi-threads as base for itkwasm/wasi
thewtex Jan 7, 2025
4269a3b
feat(itk-wasm-cli): Update default Docker image for 20250107-d8f4fb0b
thewtex Jan 7, 2025
1621a8c
chore(mesh-io): bump version to 1.6.1
thewtex Jan 7, 2025
22168c0
build(bindgen): specify env for wasi
thewtex Jan 8, 2025
5631c7f
build(wasi): add pthread_atfork, pthread_attr_setscope shims
thewtex Jan 8, 2025
86b95fa
feat(itk-wasm-cli): Update default Docker image for 20250107-5631c7f6
thewtex Jan 8, 2025
ceebded
build(different-input-types-example): use fully qualified wasi image
thewtex Jan 8, 2025
e5ebcad
fix(docker): posixShim.c -> pthreadShim.c
thewtex Jan 8, 2025
4dd73c7
feat(itk-wasm-cli): Update default Docker image for 20250108-e5ebcad9
thewtex Jan 8, 2025
171dcd0
build(docker): copy *.c into the ITKWebAssemblyInterface dir
thewtex Jan 8, 2025
7484b79
feat(itk-wasm-cli): Update default Docker image for 20250108-171dcd01
thewtex Jan 8, 2025
5a978ee
build(wasi): compile pthreadShim in cxx
thewtex Jan 8, 2025
4ccb4c9
feat(itk-wasm-cli): Update default Docker image for 20250108-5a978ee5
thewtex Jan 8, 2025
cc3b208
chore(hello-world-example): bump itk-wasm, use full image identifier
thewtex Jan 8, 2025
6b19476
feat(itk-wasm-cli): Update default Docker image for 20250108-cc3b208f
thewtex Jan 8, 2025
e1e50d3
build(pthreadShim): return values
thewtex Jan 9, 2025
b6c6122
build(wasi): specify initial, max memory
thewtex Jan 9, 2025
e4058d7
chore(itkwasm): bump wasmtime dep to 28.0.0
thewtex Jan 9, 2025
31d33fb
feat(itk-wasm-cli): Update default Docker image for 20250109-e4058d74
thewtex Jan 9, 2025
1085b92
feat(interface-json-node-wasi): support modules that use threads
thewtex Jan 9, 2025
3f48cb9
feat(itk-wasm): cli run with wasmtime supports threads
thewtex Jan 9, 2025
1f6a978
test(itk-wasm): add pthreads and cxx-threads test pipelines
thewtex Jan 9, 2025
abc2674
build(wasi): add __cxa_init_primary_exception shim
thewtex Jan 9, 2025
c890071
test(itkwasm): add test wasi threads pipeline modules
thewtex Jan 9, 2025
ff70bd3
build(docker): use emulated pthreads
thewtex Jan 21, 2025
22285a5
feat(itk-wasm-cli): Update default Docker image for 20250123-ff70bd3b
thewtex Jan 24, 2025
d0332e2
build(dicom): flags for wasi-emulated-threads
thewtex Jan 24, 2025
b579b6d
Merge branch 'main' into wasi-threads
thewtex Jan 24, 2025
bd526ab
feat(itk-wasm-cli): Update default Docker image for 20250124-b579b6d4
thewtex Jan 24, 2025
c658854
build(wasi): compile itkObjectFactoryBase.cxx with -fno-lto
thewtex Jan 24, 2025
363b6f4
build(wasi): add -fno-lto for __cxa_init_primary_exception
thewtex Jan 25, 2025
7ec81a2
feat(itk-wasm-cli): Update default Docker image for 20250125-363b6f4b
thewtex Jan 25, 2025
c756024
build(wasi): change __cxa_init_primary_exception shim return
thewtex Jan 25, 2025
7881ebc
build(dcmtk): update for dcmjpeg support
thewtex Jan 26, 2025
6af1dbe
build(wasi): return value for __cxa_init_primary_exception shim
thewtex Jan 26, 2025
b9ae96b
feat(itk-wasm-cli): Update default Docker image for 20250126-6af1dbec
thewtex Jan 26, 2025
4b63124
feat(itk-wasm-cli): Update default Docker image for 20250126-b9ae96ba
thewtex Jan 27, 2025
cb6510f
build(ITKWebAssemblyInterface): set all required flags
thewtex Jan 27, 2025
aae9550
feat(itk-wasm-cli): Update default Docker image for 20250127-cb6510fe
thewtex Jan 27, 2025
ed899a9
build(ITKWebAssemblyInterface): do not pass emscripten flags with wasi
thewtex Jan 27, 2025
874ed37
feat(itk-wasm-cli): Update default Docker image for 20250127-ed899a98
thewtex Jan 27, 2025
fc7c3ca
build(different-input-types): use workspace itk-wasm
thewtex Jan 27, 2025
b96cb71
ci: temporarily disable hello-world cypress test
thewtex Jan 27, 2025
2e469d7
ci(different-input-types): use pnpm
thewtex Jan 27, 2025
e46c0f7
ci(wasi): download test data
thewtex Jan 28, 2025
d75b942
build(hello-world): use pnpm workspace.
thewtex Jan 28, 2025
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
25 changes: 13 additions & 12 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ jobs:
name: hello-world-build
path: examples/hello-world

- name: Test
uses: cypress-io/github-action@v6
with:
working-directory: ./examples/hello-world
browser: chrome
start: npm start
#- name: Test
#uses: cypress-io/github-action@v6
#with:
#working-directory: ./examples/hello-world
#browser: chrome
#start: npm start

build-test-hello-pipeline-example:
name: hello-pipeline build test
Expand Down Expand Up @@ -317,21 +317,22 @@ jobs:
run: |
../../src/docker/pull.sh --no-debug

- name: Install
uses: pnpm/action-setup@v4
with:
run_install: true

- uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install
run: |
npm install

- name: Build
run: |
npm run build
pnpm run build

- name: Test
run: |
npm run test
pnpm run test

test-mean-squares-versor-registration:
name: mean-squares-versor-registration
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
run: |
pnpm run --aggregate-output build:wasi

- name: Download test data
run: |
pnpm run --aggregate-output test:data:download

- name: Test
run: |
pnpm run --aggregate-output test:wasi
8 changes: 4 additions & 4 deletions examples/different-input-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"description": "An itk-wasm pipeline example that demonstrates accepting different input types",
"type": "module",
"scripts": {
"build": "npm run build:wasi",
"build:wasi": "itk-wasm -b wasi-build -i itkwasm/wasi:latest-debug build",
"test": "npm run test:wasi && npm run test:wasi:help",
"build": "pnpm run build:wasi",
"build:wasi": "itk-wasm -b wasi-build -i quay.io/itkwasm/wasi:latest build",
"test": "pnpm run test:wasi",
"test:wasi": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- ./Gourds.png label.png overlay.png",
"test:wasi:help": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- --help"
},
"author": "Matt McCormick <matt@mmmccormick.com>",
"license": "Apache-2.0",
"dependencies": {
"itk-wasm": "^1.0.0-b.185"
"itk-wasm": "workspace:^"
}
}
Loading
Loading