Skip to content

Commit

Permalink
ci: Use static dependencies on windows (#3190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Macdu committed Jan 20, 2024
1 parent 59ac163 commit 1ed3a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
C:\vcpkg\installed
C:\vcpkg\packages
C:\Users\runneradmin\AppData\Local\ccache
extra_cmake_args: -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake
extra_cmake_args: -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static-md
cmake_preset: windows-ninja
- os: macos-latest
version: zip
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Set up build environment (windows-latest)
run: |
vcpkg install zlib:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-program-options:x64-windows boost-icl:x64-windows boost-variant:x64-windows curl:x64-windows openssl:x64-windows
vcpkg install zlib:x64-windows-static-md boost-system:x64-windows-static-md boost-filesystem:x64-windows-static-md boost-program-options:x64-windows-static-md boost-icl:x64-windows-static-md boost-variant:x64-windows-static-md curl:x64-windows-static-md openssl:x64-windows-static-md
choco install ccache
if: matrix.os == 'windows-latest'

Expand Down

0 comments on commit 1ed3a34

Please sign in to comment.