Skip to content

Commit 9eb346d

Browse files
committed
ENH: Support arbitrary ITK version for C++ CI testing
So we can choose an arbitrary ITK Git hash to build a given remote module against.
1 parent dc0e671 commit 9eb346d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

{{cookiecutter.project_name}}/test/azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ jobs:
5858
displayName: 'Install build dependencies'
5959
6060
- script: |
61-
git clone --depth 5 --branch $(ITKGitTag) https://github.com/InsightSoftwareConsortium/ITK.git
61+
git clone https://github.com/InsightSoftwareConsortium/ITK.git
62+
cd ITK
63+
git checkout $(ITKGitTag)
6264
workingDirectory: $(Agent.BuildDirectory)
6365
displayName: 'Download ITK'
6466

0 commit comments

Comments
 (0)