From de747dc470d9901af134094af9bd202f952ba4de Mon Sep 17 00:00:00 2001 From: ak5k <42914711+ak5k@users.noreply.github.com> Date: Wed, 3 Jan 2024 09:31:52 +0200 Subject: [PATCH] Update CMake build commands --- .github/workflows/cmake-multi-platform.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 4f9f9fa..bf8f3bb 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -56,7 +56,12 @@ jobs: shell: cmd run: | call "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -B ${{ github.workspace }} -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -S ${{ github.workspace }}" + cmake -B ${{ github.workspace }} -G "Ninja" ^ + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ^ + -DCMAKE_C_COMPILER=cl ^ + -DCMAKE_CXX_COMPILER=cl ^ + -S ${{ github.workspace }}" + cmake --build ${{ github.workspace }} --config ${{ matrix.build_type }} - name: Unix-like @@ -64,10 +69,11 @@ jobs: if: runner.os != 'Windows' run: | cmake -B ${{ github.workspace }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }} -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}" + cmake --build ${{ github.workspace }} --config ${{ matrix.build_type }} - - name: Build - # Build your program with the given configuration - run: cmake --build ${{ github.workspace }} --config ${{ matrix.build_type }} + # - name: Build + # # Build your program with the given configuration + # run: cmake --build ${{ github.workspace }} --config ${{ matrix.build_type }} - name: CTest working-directory: ${{ github.workspace }}