Update cmake.yml

remove github action and try to roll our own for vpkg bootstrapping
This commit is contained in:
McMassiveNZ
2022-12-14 03:10:24 +01:00
parent 21148e6244
commit ed3c5e4fca

View File

@@ -21,6 +21,12 @@ 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]
exclude:
- os: windows-latest
- BOOTSTRAP_EXT: sh
- os: ubuntu-latest
- BOOTSTRAP_EXT: bat
steps: steps:
- name: checkout - name: checkout
@@ -28,8 +34,8 @@ jobs:
with: with:
submodules: true submodules: true
- name: run-vcpkg - name: bootstrap-vcpkg
uses: lukka/run-vcpkg@v10.7 run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.${{BOOTSTRAP_EXT}}
- 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.