Skip to content

Commit

Permalink
ENH: Add Pixi GitHub Actions Configuration
Browse files Browse the repository at this point in the history
This adds C++ configure, build, test CI testing to exercise the pixi
configuration, exercise the associated conda-forge toolchains, and
improve coverage.
  • Loading branch information
thewtex committed Oct 30, 2024
1 parent 5037e74 commit 228b161
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/pixi.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]

- name: Configure
run: pixi run configure

- name: Build
run: pixi run build

- name: Test
run: pixi run test

0 comments on commit 228b161

Please sign in to comment.