From 7e9a079fdc3292dbb0968d72d2c3fbeed36189d3 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 6 Mar 2023 14:59:44 -0600 Subject: [PATCH] CI: print full compiler command line This commit changes the build command to "make VERBOSE=1 -j2" which will print the full compile command. While this makes the output larger it is nevertheless very useful for understanding what final command line was used for compilation and linkage. --- .github/workflows/linux.yml | 14 +++++++------- .github/workflows/osx.yml | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3cec3fd54a..ab8da655b0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -57,7 +57,7 @@ jobs: - name: build run: | cd build - make -j 2 + make VERBOSE=1 -j2 - name: quicktest run: | cd build @@ -112,7 +112,7 @@ jobs: - name: build run: | cd build - make -j 2 + make VERBOSE=1 -j2 - name: test run: | # Remove warning: "A high-performance Open MPI point-to-point @@ -121,8 +121,8 @@ jobs: export OMPI_MCA_btl_base_warn_component_unused='0' cd build - make -j 2 setup_tests_simplex - ctest --output-on-failure -j 2 + make -j2 setup_tests_simplex + ctest --output-on-failure -j2 - name: failed test log if: ${{ failure() }} uses: actions/upload-artifact@v3 @@ -207,11 +207,11 @@ jobs: - name: build deal.II run: | cd build - make -j 2 + make VERBOSE=1 -j2 - name: build CUDA tests run: | cd build - make -j 2 setup_tests_cuda + make -j2 setup_tests_cuda cd tests/cuda make -j2 compile_test_executables @@ -287,7 +287,7 @@ jobs: run: | source /opt/intel/oneapi/setvars.sh cd build - make -j 2 + make VERBOSE=1 -j2 - name: quicktest run: | source /opt/intel/oneapi/setvars.sh diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index c8b3e00892..a9c0b8ea17 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -32,8 +32,8 @@ jobs: path: detailed.log - name: build run: | - make -j 2 - make -j 2 test # quicktests + make VERBOSE=1 -j2 + make -j2 test # quicktests - name: archive error 1 uses: actions/upload-artifact@v3 if: always() @@ -78,8 +78,8 @@ jobs: path: detailed.log - name: build run: | - make -j 2 - make -j 2 test #quicktests + make VERBOSE=1 -j2 + make -j2 test #quicktests - name: archive error 1 uses: actions/upload-artifact@v3 if: always() -- 2.39.5