Skip to content
Open
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
26 changes: 25 additions & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, test, publish
on: [push,pull_request]

env:
itk-git-tag: "v6.0a02"
itk-git-tag: "main"

jobs:
build-test-cxx:
Expand Down Expand Up @@ -57,6 +57,14 @@ jobs:
cd ITK
git checkout ${{ env.itk-git-tag }}

- name: Restore ExternalData cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/../bld/ExternalData/Objects
key: externaldata-v1-${{ hashFiles('Ex/src/**/*.cid') }}
restore-keys: |
externaldata-v1-

- name: Build ITK
if: matrix.os != 'windows-2022'
run: |
Expand Down Expand Up @@ -169,6 +177,14 @@ jobs:
- name: Get specific version of CMake, Ninja
uses: lukka/get-cmake@v3.24.2

- name: Restore ExternalData cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/../bld/ExternalData/Objects
key: externaldata-superbuild-v1-${{ matrix.os }}-${{ hashFiles('Ex/src/**/*.cid') }}
restore-keys: |
externaldata-superbuild-v1-${{ matrix.os }}-

- name: Fetch CTest driver script
run: |
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKSphinxExamples/dashboard/itkexamples_common.cmake -O
Expand Down Expand Up @@ -308,6 +324,14 @@ jobs:
SITE_PACKAGES_DIR=$(python3 "-c" "from distutils import sysconfig; print(sysconfig.get_python_lib())")
sed -i "6559d" ${SITE_PACKAGES_DIR}/sphinx/domains/cpp.py

- name: Restore ExternalData cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/../bld/ExternalData/Objects
key: externaldata-docs-v1-${{ hashFiles('Ex/src/**/*.cid') }}
restore-keys: |
externaldata-docs-v1-

- name: Fetch CTest driver script
run: |
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKSphinxExamples/dashboard/itkexamples_common.cmake -O
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0

- name: Lint C++
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
Loading