chore: CI: retry tests on Windows

/cc @leodemoura
This commit is contained in:
Sebastian Ullrich 2021-10-03 18:03:00 +02:00
parent 85c49cfeb3
commit 48764b60d5

View file

@ -49,6 +49,8 @@ jobs:
release: true
shell: msys2 {0}
CMAKE_OPTIONS: -G "Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
# for reasons unknown, interactivetests are flaky on Windows
CTEST_OPTIONS: --repeat until-pass:2
# complete all jobs
fail-fast: false
name: ${{ matrix.name }}
@ -161,7 +163,7 @@ jobs:
- name: Test
run: |
cd build/stage1
ctest -j4 --output-on-failure --timeout 300 < /dev/null
ctest -j4 --output-on-failure --timeout 300 ${{ matrix.CTEST_OPTIONS }} < /dev/null
- name: Build Stage 2
run: |
cd build