Skip to content

Commit ceea2c3

Browse files
authored
Allow cygwin to finish (#5844)
* Use env var to only show test output if there is a failure * Remove the -VV from the command line * Increase time and do one V
1 parent c656ed8 commit ceea2c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/cygwin.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cygwin_build_and_test:
2727
name: "cygwin-${{ inputs.build_mode }}"
2828
runs-on: windows-latest
29-
timeout-minutes: 30
29+
timeout-minutes: 40
3030
steps:
3131
- name: Set git to use LF
3232
run: |
@@ -92,7 +92,7 @@ jobs:
9292
set (MODEL "GHDaily")
9393
set (GROUP "GHDaily")
9494
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
95-
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
95+
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=NOTICE")
9696
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_GENERATE_HEADERS:BOOL=OFF")
9797
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=OFF")
9898
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_CPP_LIB:BOOL=OFF")
@@ -109,10 +109,12 @@ jobs:
109109
110110
- name: Run CTest (Cygwin)
111111
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
112+
env:
113+
CTEST_OUTPUT_ON_FAILURE: true
112114
run: |
113115
export PATH=/usr/bin:$PATH
114116
cd "${{ runner.workspace }}/hdf5"
115-
ctest -S HDF5config.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-CYG,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5.log
117+
ctest -S HDF5config.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-CYG,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -V -O hdf5.log
116118
continue-on-error: true
117119

118120
# Save log files created by CTest script

0 commit comments

Comments
 (0)