Update cmake.yml

This commit is contained in:
McMassiveNZ
2022-12-17 00:04:22 +01:00
parent 15a57c8d56
commit 1b8dabf69a

View File

@@ -20,14 +20,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
build_configuration: [Debug, Release]
include:
- os: windows-latest
- bootstrap: bootstrap-vcpkg.bat
- triplet: x64-windows
- os: ubuntu-latest
- bootstrap: bootstrap-vcpkg.sh
- triplet: x64-linux
steps: steps:
- name: checkout - name: checkout
@@ -35,11 +27,21 @@ jobs:
with: with:
submodules: true submodules: true
- name: Boostrap Vcpkg - if: runner.os == 'Windows'
run: ${{github.workspace}}/external/vcpkg/${{matrix.bootstrap}} -disableMetrics name: Boostrap Vcpkg
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.bat -disableMetrics
- name: Install packaged dependencies - if: runner.os != 'Windows'
run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}} name: Boostrap Vcpkg
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.sh -disableMetrics
- if: runner.os == 'Windows'
name: Install packaged dependencies
run: ${{github.workspace}}\external\vcpkg\vcpkg.exe install spdlog --triplet x64-windows
- if: runner.os != 'Windows'
name: Install packaged dependencies
run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet x64-linux
- 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.