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 24, 2024
1 parent 007e79a commit 6f9fe6e
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ on:
- main

jobs:
native-build-test-workflow:
runs-on: ubuntu-22.04
itk-wasm-native-build-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
package: [compare-images]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -21,4 +25,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-${{ matrix.os }}
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-${{ matrix.os }}

- name: Build and Test Package
run: |
echo "Running on ${{ matrix.os }} for package ${{ matrix.package }}"
pixi run test-${{ matrix.package }}

0 comments on commit 6f9fe6e

Please sign in to comment.