2018-09-16 21:58:57 +08:00
|
|
|
---
|
2017-06-05 04:58:28 +08:00
|
|
|
cache:
|
2020-05-14 07:50:43 +08:00
|
|
|
- '%USERPROFILE%\.conan'
|
2017-06-05 04:58:28 +08:00
|
|
|
|
2017-01-21 01:42:30 +08:00
|
|
|
install:
|
2020-05-14 07:50:43 +08:00
|
|
|
- set PATH=C:\Python38-x64\Scripts;%PATH%
|
|
|
|
- py -3 -m pip install conan
|
2017-01-21 01:42:30 +08:00
|
|
|
|
|
|
|
before_build:
|
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:
|
|
|
|
# TODO(iphydf): Tests are unstable and slow on windows at the moment.
|
2020-05-14 07:50:43 +08:00
|
|
|
- set CONAN_CPU_COUNT=50
|
2021-04-09 15:08:24 +08:00
|
|
|
- conan install -if _build -o with_tests=True .
|
|
|
|
- conan build -bf _build -if _build . &
|
2018-09-23 07:08:41 +08:00
|
|
|
exit 0
|