diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index ff56d559a..4875c8f4d 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -11,7 +11,7 @@ on: - main jobs: - native-build-test-workflow: + itk-wasm-native-build-test: runs-on: ubuntu-22.04 steps: @@ -21,4 +21,28 @@ jobs: - name: Build and Test ITK-Wasm run: | - pixi run test-itk-wasm \ No newline at end of file + pixi run test-itk-wasm + + - name: Upload ITK-Wasm build artifacts + uses: actions/upload-artifact@v4 + with: + name: itk-wasm-build + path: . + + packages-native-build-test: + needs: itk-wasm-native-build-test + runs-on: ${{ matrix.os }} + strategy: + matrix: + package: [compare-images] + os: [ubuntu-latest] + steps: + - name: Download ITK-Wasm build artifacts + uses: actions/download-artifact@v4 + with: + name: itk-wasm-build + + - name: Build and Test Package + run: | + echo "Running on ${{ matrix.os }} for package ${{ matrix.package }}" + pixi run test-${{ matrix.package }} \ No newline at end of file