Skip to content

Commit

Permalink
ci: use CTEST_OUTPUT_ON_FAILURE=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 10, 2024
1 parent bbc8736 commit 3507b8b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions ci/docker/almalinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -37,4 +37,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -32,4 +32,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/archlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -32,4 +32,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -35,4 +35,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -36,4 +36,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/opensuse/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -35,4 +35,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/rockylinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -38,4 +38,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v
4 changes: 2 additions & 2 deletions ci/docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN cmake --build build --target all -v
RUN cmake --build build --target install -v

FROM build AS test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

# Test install rules
FROM env AS install_env
Expand All @@ -36,4 +36,4 @@ RUN cmake -S. -Bbuild
RUN cmake --build build --target all -v

FROM install_build AS install_test
RUN cmake --build build --target test -v
RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test -v

0 comments on commit 3507b8b

Please sign in to comment.