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
This commit is contained in:
Allen Byrne
2025-09-17 22:09:14 -05:00
committed by GitHub
parent c656ed8a27
commit ceea2c35de
+5 -3
View File
@@ -26,7 +26,7 @@ jobs:
cygwin_build_and_test:
name: "cygwin-${{ inputs.build_mode }}"
runs-on: windows-latest
timeout-minutes: 30
timeout-minutes: 40
steps:
- name: Set git to use LF
run: |
@@ -92,7 +92,7 @@ jobs:
set (MODEL "GHDaily")
set (GROUP "GHDaily")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=NOTICE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_GENERATE_HEADERS:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_CPP_LIB:BOOL=OFF")
@@ -109,10 +109,12 @@ jobs:
- name: Run CTest (Cygwin)
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
env:
CTEST_OUTPUT_ON_FAILURE: true
run: |
export PATH=/usr/bin:$PATH
cd "${{ runner.workspace }}/hdf5"
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
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
continue-on-error: true
# Save log files created by CTest script