Linux vcpkg in ci compile in release only

This commit is contained in:
Tal Regev 2021-06-28 18:10:50 +03:00
parent ce53711c0e
commit 97100daada
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
set(VCPKG_BUILD_TYPE release)
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Linux)

View File

@ -8,6 +8,7 @@ fi
CACHE_DIR="$PWD/3rdParty/buildCache/linux"
BUILD_DIR="$PWD/3rdParty/linux"
VCPKG_PORTS="$PWD/3rdParty/vcpkg_ports"
VCPKG_ROOT="$BUILD_DIR/vcpkg"
export XDG_CACHE_HOME=$CACHE_DIR/vcpkgcache
@ -19,5 +20,5 @@ fi
git -C $VCPKG_ROOT pull
$VCPKG_ROOT/bootstrap-vcpkg.sh
$VCPKG_ROOT/vcpkg install rappture curl[core,openssl] --clean-after-build
$VCPKG_ROOT/vcpkg install rappture curl[core,openssl] opencl --clean-after-build --overlay-triplets=$VCPKG_PORTS/triplets/ci
$VCPKG_ROOT/vcpkg upgrade --no-dry-run