diff --git a/.github/workflows/pixi.yml b/.github/workflows/pixi.yml new file mode 100644 index 000000000000..bc1f87a5d601 --- /dev/null +++ b/.github/workflows/pixi.yml @@ -0,0 +1,57 @@ +name: ITK.Pixi + +on: + push: + branches: + - master + - 'release*' + paths-ignore: + - '*.md' + - LICENSE + - NOTICE + - 'Documentation/**' + - 'Utilities/Debugger/**' + - 'Utilities/ITKv5Preparation/**' + - 'Utilities/Maintenance/**' + pull_request: + paths-ignore: + - '*.md' + - LICENSE + - NOTICE + - 'Documentation/**' + - 'Utilities/Debugger/**' + - 'Utilities/ITKv5Preparation/**' + - 'Utilities/Maintenance/**' + +env: + ExternalDataVersion: 5.3.0 + +jobs: + Pixi-Cxx: + runs-on: ${{ matrix.os }} + timeout-minutes: 0 + strategy: + matrix: + os: [ubuntu-22.04, windows-2022] + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 5 + clean: true + + - name: Free Disk Space (Ubuntu) + if: matrix.os == 'ubuntu-22.04' + uses: jlumbroso/free-disk-space@main + + - name: Set up Pixi + uses: prefix-dev/setup-pixi@v0.8.1 + + - name: Configure + run: pixi run configure + + - name: Build + run: pixi run build + + - name: Test + run: pixi run test