Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/pixi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 0
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022, macos-15]
steps:
Expand Down Expand Up @@ -136,11 +137,14 @@ jobs:
- name: Configure
run: pixi run configure-ci

- name: Fetch ExternalData
run: pixi run --skip-deps build-external-data-ci

- name: Build
run: |
echo "****** df -h / -- pre build"
df -h /
pixi run --skip-deps build
pixi run --skip-deps build-ci
echo "****** df -h / -- post build"
df -h /

Expand All @@ -160,7 +164,7 @@ jobs:
df -h /

- name: Test
run: pixi run --skip-deps test
run: pixi run --skip-deps test-ci

- name: Disk space reporting AFTER (optimize free-disk-space)
run: |
Expand Down
18 changes: 17 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cmd = '''cmake \
-Bbuild \
-S. \
-GNinja \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DBUILD_TESTING:BOOL=ON \
-DITK_USE_CCACHE:BOOL=ON \
-DCMAKE_C_COMPILER_LAUNCHER:STRING=ccache \
Expand Down Expand Up @@ -105,6 +105,22 @@ cmd = "ctest -j3 --test-dir build"
description = "Test ITK"
depends-on = ["build"]

[tool.pixi.feature.cxx.tasks.build-external-data-ci]
cmd = "cmake --build build --target ITKData"
description = "Fetch ITK ExternalData for CI (fails fast on download errors)"
depends-on = ["configure-ci"]

[tool.pixi.feature.cxx.tasks.build-ci]
cmd = "cmake --build build"
description = "Build ITK for CI"
outputs = ["build/lib/**"]
depends-on = ["configure-ci"]

[tool.pixi.feature.cxx.tasks.test-ci]
cmd = "ctest -j3 --test-dir build"
description = "Test ITK for CI"
depends-on = ["build-ci"]

[tool.pixi.feature.cxx.tasks.configure-debug]
cmd = '''cmake \
-Bbuild-debug \
Expand Down
Loading