8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -70,6 +70,8 @@ jobs:
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: cache
|
||||
uses: actions/cache@v3
|
||||
@@ -98,14 +100,14 @@ jobs:
|
||||
cppcheck: true
|
||||
|
||||
- name: Boostrap Vcpkg
|
||||
run: ~/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics
|
||||
run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics
|
||||
|
||||
- name: Install packaged dependencies
|
||||
run: ~/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}}
|
||||
run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}}
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_configuration}}
|
||||
-DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
-DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/external/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_configuration}}
|
||||
|
||||
Reference in New Issue
Block a user