Skip to content

Commit bc9fa42

Browse files
committed
ci(native): add packages-build-test job
1 parent 057db0c commit bc9fa42

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/native.yml

+26-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- main
1212

1313
jobs:
14-
native-build-test-workflow:
14+
itk-wasm-native-build-test:
1515
runs-on: ubuntu-22.04
1616

1717
steps:
@@ -21,4 +21,28 @@ jobs:
2121

2222
- name: Build and Test ITK-Wasm
2323
run: |
24-
pixi run test-itk-wasm
24+
pixi run test-itk-wasm
25+
26+
- name: Upload ITK-Wasm build artifacts
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: itk-wasm-build
30+
path: .
31+
32+
packages-native-build-test:
33+
needs: itk-wasm-native-build-test
34+
runs-on: ${{ matrix.os }}
35+
strategy:
36+
matrix:
37+
package: [compare-images]
38+
os: [ubuntu-latest]
39+
steps:
40+
- name: Download ITK-Wasm build artifacts
41+
uses: actions/download-artifact@v4
42+
with:
43+
name: itk-wasm-build
44+
45+
- name: Build and Test Package
46+
run: |
47+
echo "Running on ${{ matrix.os }} for package ${{ matrix.package }}"
48+
pixi run test-${{ matrix.package }}

0 commit comments

Comments
 (0)