From 3fcc7e7212663f08eaa13c5798801fed459dad46 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Thu, 2 Mar 2023 20:42:26 +0100 Subject: [PATCH] ci: add cmake retest target --- .github/workflows/build.yml | 2 +- .github/workflows/cmake_win.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/sanitizers.yml | 2 +- .github/workflows/valgrind.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ac68a25f..b324d634c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,7 @@ jobs: - name: cmake run: | - cmake -B build && cmake --build build + cmake -B build && cmake --build build -t retest - name: retest run: | diff --git a/.github/workflows/cmake_win.yml b/.github/workflows/cmake_win.yml index a464da54c..2e0c45f36 100644 --- a/.github/workflows/cmake_win.yml +++ b/.github/workflows/cmake_win.yml @@ -45,5 +45,5 @@ jobs: cmake --version ninja --version cmake -S . -B build -G "${{ matrix.config.generators }}" -DCMAKE_C_FLAGS="/WX" -DCMAKE_BUILD_TYPE=${{ matrix.config.build }} - cmake --build build --parallel + cmake --build build --parallel -t retest build\test\retest.exe -r -v diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6e8033d56..3f536be2d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,7 +30,7 @@ jobs: - name: make run: | cmake -B build -DCMAKE_C_FLAGS="--coverage" -DCMAKE_EXE_LINKER_FLAGS="--coverage" - cmake --build build -j + cmake --build build -j -t retest - name: retest run: | diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 1719cf1ea..997d7c3fe 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -41,7 +41,7 @@ jobs: - name: cmake run: | - cmake -B build -DHAVE_THREADS= && cmake --build build -j + cmake -B build -DHAVE_THREADS= && cmake --build build -j -t retest - name: retest run: | diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index aae633f1b..5043e05a1 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -23,7 +23,7 @@ jobs: - name: make run: | - cmake -B build && cmake --build build -j + cmake -B build && cmake --build build -j -t retest - name: retest run: |