Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelarius committed Feb 20, 2024
1 parent 528338f commit d947c64
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d947c64

Please sign in to comment.