From 7458841417f624c412247f0450d32eabefb19e2a Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 16 Jun 2023 20:21:10 +0200 Subject: [PATCH] cd: switch to static deps --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9b3ea92..33d3ffc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -21,7 +21,7 @@ jobs: submodules: recursive - name: Install Dependencies - run: vcpkg install libsodium:x64-windows pthreads:x64-windows + run: vcpkg install libsodium:x64-windows-static pthreads:x64-windows-static # setup vs env - uses: ilammy/msvc-dev-cmd@v1 @@ -29,7 +29,7 @@ jobs: arch: amd64 - name: Configure CMake - run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake + run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4