ci(native): add packages-build-test job #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Native C++ | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
itk-wasm-native-build-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
- name: Build and Test ITK-Wasm | |
run: | | |
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 }} |