2018-09-16 21:58:57 +08:00
|
|
|
---
|
2022-03-18 01:28:21 +08:00
|
|
|
image: Visual Studio 2019
|
|
|
|
|
2017-06-05 04:58:28 +08:00
|
|
|
cache:
|
2022-02-10 02:40:46 +08:00
|
|
|
- '%USERPROFILE%\.conan -> conanfile.py'
|
2017-06-05 04:58:28 +08:00
|
|
|
|
2017-01-21 01:42:30 +08:00
|
|
|
install:
|
2022-03-18 01:28:21 +08:00
|
|
|
- set PATH=C:\Python310-x64\Scripts;%PATH%
|
2020-05-14 07:50:43 +08:00
|
|
|
- py -3 -m pip install conan
|
2017-01-21 01:42:30 +08:00
|
|
|
|
|
|
|
before_build:
|
2022-03-25 02:16:45 +08:00
|
|
|
- git submodule update --init --recursive
|
2021-08-21 19:00:04 +08:00
|
|
|
- conan install -if _build .
|
2017-01-21 01:42:30 +08:00
|
|
|
|
2020-05-14 07:50:43 +08:00
|
|
|
build_script:
|
2021-04-09 15:08:24 +08:00
|
|
|
- conan build -bf _build -if _build .
|
2017-01-21 01:42:30 +08:00
|
|
|
|
2018-09-23 07:08:41 +08:00
|
|
|
test_script:
|
2020-05-14 07:50:43 +08:00
|
|
|
- set CONAN_CPU_COUNT=50
|
2021-12-11 05:58:57 +08:00
|
|
|
- set CTEST_OUTPUT_ON_FAILURE=1
|
2021-04-09 15:08:24 +08:00
|
|
|
- conan install -if _build -o with_tests=True .
|
2022-01-09 01:41:51 +08:00
|
|
|
- conan build -bf _build -if _build .
|