forked from Green-Sky/tomato
update toxcore, includes ngc mem savings
Merge commit '261d2e53b7a513de7eb35e022fe3b2ae4efa835f'
This commit is contained in:
22
external/toxcore/c-toxcore/azure-pipelines.yml
vendored
22
external/toxcore/c-toxcore/azure-pipelines.yml
vendored
@ -1,15 +1,25 @@
|
||||
pool:
|
||||
vmImage: "windows-2019"
|
||||
jobs:
|
||||
- job: "windows_msvc_conan"
|
||||
- job: "vcpkg"
|
||||
strategy:
|
||||
matrix:
|
||||
static:
|
||||
conan.shared: "False"
|
||||
ENABLE_STATIC: "ON"
|
||||
ENABLE_SHARED: "OFF"
|
||||
shared:
|
||||
conan.shared: "True"
|
||||
ENABLE_STATIC: "OFF"
|
||||
ENABLE_SHARED: "ON"
|
||||
steps:
|
||||
- bash: python -m pip install conan==1.59.0
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: "vcpkg"
|
||||
path: "_build/vcpkg_installed"
|
||||
- bash: git submodule update --init --recursive
|
||||
- bash: conan install -if _build -o with_tests=True -o shared=$(conan.shared) .
|
||||
- bash: CONAN_CPU_COUNT=50 CTEST_OUTPUT_ON_FAILURE=1 conan build -bf _build -if _build . || true
|
||||
- bash: cmake --preset windows-default -DENABLE_STATIC=$(ENABLE_STATIC) -DENABLE_SHARED=$(ENABLE_SHARED)
|
||||
env:
|
||||
VCPKG_ROOT: "C:/vcpkg"
|
||||
VCPKG_DEFAULT_TRIPLET: "x64-windows"
|
||||
- bash: cmake --build _build --config Release
|
||||
- bash: ctest --preset windows-default -C Release --parallel 50 ||
|
||||
ctest --preset windows-default -C Release --rerun-failed --output-on-failure
|
||||
|
Reference in New Issue
Block a user