From 4d23302dc7ce6a99769c8a1dce771441e3b61ab3 Mon Sep 17 00:00:00 2001 From: Piotr Macha Date: Tue, 18 Jun 2024 07:46:53 +0200 Subject: [PATCH] ci: fix build.yaml --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e5774b..78253c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,7 +112,7 @@ jobs: - name: CMake Build if: ${{ inputs.enable-sonar == false }} run: | - cmake --build out/build/${{ inputs.cmake-preset }} -j 16 + cmake --build out/build/${{ inputs.cmake-preset }} --target zbassmusic_vdf -j 16 - name: Install Sonar if: ${{ inputs.enable-sonar == true }} run: | @@ -123,7 +123,7 @@ jobs: - name: CMake Build (Sonar Wrapper) if: ${{ inputs.enable-sonar == true }} run: | - ./build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build out/build/${{ inputs.cmake-preset }} -j 16 + ./build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build out/build/${{ inputs.cmake-preset }} --target zbassmusic_vdf -j 16 - name: Sonar Scanner if: ${{ inputs.enable-sonar == true }} env: @@ -137,6 +137,7 @@ jobs: if: ${{ inputs.enable-tests == true }} run: | $status = $false; + cmake --build out/build/${{ inputs.cmake-preset }} --target tests -j 16 if (ctest --test-dir out/build/${{ inputs.cmake-preset }}/tests -j 16) { echo "tests=success" >> $env:GITHUB_OUTPUT $status = $true;