From 2abbbaa0b84d161d9cf73b243ad9b40c976c2fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yohann=20B=C3=A9n=C3=A9dic?= Date: Thu, 21 Apr 2022 07:49:15 +0200 Subject: [PATCH] Specify configuration in build dir name to see if debug and release junit report are seen as two independant reports. --- .github/workflows/unit_tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 21b7c9a..86ac77a 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -16,18 +16,18 @@ jobs: uses: lukka/get-cmake@latest - name: Configure - run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -B build -S . + run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -B build/${{ matrix.config }} -S . env: CXX: g++-10 CC: gcc-10 - name: Build - run: cmake --build build --config ${{ matrix.config }} --parallel + run: cmake --build build/${{ matrix.config }} --config ${{ matrix.config }} --parallel - name: Execute - run: cmake --build build --target test + run: cmake --build build/${{ matrix.config }} --target test - name: Publish test report uses: mikepenz/action-junit-report@v3 with: - report_paths: 'build/bin/junit_*.xml' \ No newline at end of file + report_paths: 'build/${{ matrix.config }}/bin/junit_*.xml' \ No newline at end of file