Update cmake.yml
This commit is contained in:
12
.github/workflows/cmake.yml
vendored
12
.github/workflows/cmake.yml
vendored
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user