Update cmake.yml

This commit is contained in:
McMassiveNZ
2022-12-23 23:55:33 +01:00
parent e2c7b0b019
commit 68bfe94690

View File

@@ -24,10 +24,10 @@ jobs:
include: include:
- os: 'windows-latest' - os: 'windows-latest'
triplet: x64-windows triplet: x64-windows
shell_ext: bat vcpkg_bootstrap: bootstrap-vcpkg.bat
- os: 'ubuntu-latest' - os: 'ubuntu-latest'
triplet: x64-linux triplet: x64-linux
shell_ext: sh vcpkg_bootstrap: bootstrap-vcpkg.sh
steps: steps:
- name: checkout - name: checkout
@@ -35,14 +35,8 @@ jobs:
with: with:
submodules: true submodules: true
#- if: runner.os == 'Windows'
# name: Boostrap Vcpkg
# run: ${{github.workspace}}\external\vcpkg\bootstrap-vcpkg.bat -disableMetrics
#- if: runner.os != 'Windows'
- name: Boostrap Vcpkg - name: Boostrap Vcpkg
#run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.sh -disableMetrics run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg.${{matrix.shell_ext}} -disableMetrics
- name: Install packaged dependencies - name: Install packaged dependencies
run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}} run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}}