Skip to content

Commit

Permalink
ci(native): add packages-build-test job
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Sep 17, 2024
1 parent 057db0c commit bc9fa42
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- main

jobs:
native-build-test-workflow:
itk-wasm-native-build-test:
runs-on: ubuntu-22.04

steps:
Expand All @@ -21,4 +21,28 @@ jobs:

- name: Build and Test ITK-Wasm
run: |
pixi run test-itk-wasm
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 }}

0 comments on commit bc9fa42

Please sign in to comment.