Skip to content

ci(native): add packages-build-test job #19

ci(native): add packages-build-test job

ci(native): add packages-build-test job #19

Workflow file for this run

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 }}