Skip to content

Commit 3440872

Browse files
committed
Add verbose logging
1 parent 8770852 commit 3440872

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build_test.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Run unit tests
6868
# GitHub is using Cobalt-100, which has 128-bit SVE so we cannot test sve_256 here
69-
run: ctest -E test-unit-sve_256
69+
run: ctest -E test-unit-sve_256 --rerun-failed --output-on-failure
7070
working-directory: build_rel
7171

7272
build-ubuntu-arm64-gcc:
@@ -115,7 +115,7 @@ jobs:
115115
python ./Test/astc_test_image.py --encoder neon --test-set Small
116116
117117
- name: Run unit tests
118-
run: ctest
118+
run: ctest --rerun-failed --output-on-failure
119119
working-directory: build_rel
120120

121121
build-ubuntu-x64-clang:
@@ -171,7 +171,7 @@ jobs:
171171
python ./Test/astc_test_image.py --encoder all-x86 --test-set Small
172172
173173
- name: Run unit tests
174-
run: ctest
174+
run: ctest --rerun-failed --output-on-failure
175175
working-directory: build_rel
176176

177177
build-ubuntu-x64-gcc:
@@ -219,7 +219,7 @@ jobs:
219219
python ./Test/astc_test_image.py --encoder all-x86 --test-set Small
220220
221221
- name: Run unit tests
222-
run: ctest
222+
run: ctest --rerun-failed --output-on-failure
223223
working-directory: build_rel
224224

225225
build-macos-x64-clang:
@@ -260,7 +260,7 @@ jobs:
260260
python ./Test/astc_test_image.py --encoder sse4.1 --test-set Small
261261
262262
- name: Run unit tests
263-
run: ctest -E test-unit-avx2
263+
run: ctest -E test-unit-avx2 --rerun-failed --output-on-failure
264264
working-directory: build_rel
265265

266266
build-macos-universal-clang:
@@ -309,7 +309,7 @@ jobs:
309309
python ./Test/astc_test_image.py --encoder universal --test-set Small
310310
311311
- name: Run unit tests
312-
run: ctest -E test-unit-avx2
312+
run: ctest -E test-unit-avx2 --rerun-failed --output-on-failure
313313
working-directory: build_rel
314314

315315
build-windows-x64-msvc:
@@ -357,7 +357,7 @@ jobs:
357357
shell: cmd
358358

359359
- name: Run unit tests
360-
run: ctest -C Release
360+
run: ctest -C Release --rerun-failed --output-on-failure
361361
working-directory: build_rel
362362

363363
build-windows-x64-clangcl:
@@ -415,7 +415,7 @@ jobs:
415415
shell: cmd
416416

417417
- name: Run unit tests
418-
run: ctest -C Release
418+
run: ctest -C Release --rerun-failed --output-on-failure
419419
working-directory: build_rel
420420

421421
build-windows-arm64-clangcl:

0 commit comments

Comments
 (0)