Skip to content

Commit d97778c

Browse files
committed
ctest: specify git version control
1 parent cdcb104 commit d97778c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
- run: ctest -S ci.cmake -V
2929

30-
- run: cmake -DCMAKE_INSTALL_PREFIX=~/hdf5
30+
- run: cmake -B build -DCMAKE_INSTALL_PREFIX=~/hdf5
3131
- run: cmake --install build
3232

3333
- name: configure examples
@@ -86,7 +86,6 @@ jobs:
8686

8787

8888
mac:
89-
needs: linux
9089
runs-on: macos-latest
9190
env:
9291
HOMEBREW_NO_INSTALL_CLEANUP: 1

ci.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ cmake_cpu_count()
107107

108108
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
109109
set(CTEST_SUBMIT_RETRY_COUNT 3)
110+
set(CTEST_UPDATE_COMMAND git) # avoids auto-detect version control failures on some systemes
110111

111112
ctest_start(${CTEST_MODEL})
112113

0 commit comments

Comments
 (0)