From d947c648fd50f3eaee7e112c61d89004fa9f6d3b Mon Sep 17 00:00:00 2001 From: Johann Muszynski Date: Tue, 20 Feb 2024 21:16:56 +0200 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 794e88e..861fd9d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,12 +13,11 @@ jobs: uses: actions/checkout@v3 with: submodules: 'recursive' - - name: Setup vcpkg - uses: lukka/run-vcpkg@v11 - with: - vcpkgDirectory: ${{ github.workspace}}/vcpkg - runVcpkgInstall: true - - name: CMake generate - run: cmake -B build-release/ -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake - - name: CMake build - run: cmake --build build-release/ -j + - name: CMake generate debug + run: cmake -B build-debug -S . -DCMAKE_BUILD_TYPE=Debug + - name: CMake generate release + run: cmake -B build-release -S . -DCMAKE_BUILD_TYPE=Release + - name: CMake build debug + run: cmake --build build-debug -j + - name: CMake build release + run: cmake --build build-release -j