Update cmake.yml

This commit is contained in:
McMassiveNZ
2022-12-14 03:19:07 +01:00
parent 3efebc38ae
commit 97a801e4a6

View File

@@ -21,12 +21,11 @@ jobs:
matrix: matrix:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
BUILD_TYPE: [Debug, Release] BUILD_TYPE: [Debug, Release]
BOOTSTRAP_EXT: [bat, sh] include:
exclude:
- os: windows-latest - os: windows-latest
- BOOTSTRAP_EXT: sh - BOOTSTRAP: bootstrap-vcpkg.bat
- os: ubuntu-latest - os: ubuntu-latest
- BOOTSTRAP_EXT: bat - BOOTSTRAP: bootstrap-vcpkg.sh
steps: steps:
- name: checkout - name: checkout
@@ -35,7 +34,7 @@ jobs:
submodules: true submodules: true
- name: bootstrap-vcpkg - name: bootstrap-vcpkg
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.${{matrix.BOOTSTRAP_EXT}} run: ${{github.workspace}}/external/vcpkg/${{matrix.BOOTSTRAP}}
- name: Configure CMake - name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.