mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user