Update cmake.yml
This commit is contained in:
12
.github/workflows/cmake.yml
vendored
12
.github/workflows/cmake.yml
vendored
@@ -21,11 +21,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, ubuntu-latest]
|
os: [windows-latest, ubuntu-latest]
|
||||||
build_configuration: [Debug, Release]
|
build_configuration: [Debug, Release]
|
||||||
include:
|
|
||||||
- os: windows-latest
|
|
||||||
- triplet: x64-windows
|
|
||||||
- os: ubuntu-latest
|
|
||||||
- triplet: x64-linux
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
@@ -33,16 +28,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Boostrap Vcpkg
|
- if: runner.os == 'Windows'
|
||||||
|
name: Boostrap Vcpkg
|
||||||
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg -disableMetrics
|
run: ${{github.workspace}}/external/vcpkg/bootstrap-vcpkg -disableMetrics
|
||||||
|
|
||||||
- if: runner.os == 'Windows'
|
- if: runner.os == 'Windows'
|
||||||
name: Install packaged dependencies
|
name: Install packaged dependencies
|
||||||
run: ${{github.workspace}}\external\vcpkg\vcpkg.exe install spdlog --triplet ${{matrix.triplet}}
|
run: ${{github.workspace}}\external\vcpkg\vcpkg.exe install spdlog --triplet x64-windows
|
||||||
|
|
||||||
- if: runner.os != 'Windows'
|
- if: runner.os != 'Windows'
|
||||||
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 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user