toxcore/appveyor.yml
Robin Linden 6ee8fa0218
chore: Fix Appveyor failing due to adding a remote that already exists
Also drop the cache whenever the conanfile.py changes to ensure that we
don't work against stale data when adding dependencies and things.
2022-02-09 21:38:55 +01:00

20 lines
405 B
YAML

---
cache:
- '%USERPROFILE%\.conan -> conanfile.py'
install:
- set PATH=C:\Python38-x64\Scripts;%PATH%
- py -3 -m pip install conan
before_build:
- conan install -if _build .
build_script:
- conan build -bf _build -if _build .
test_script:
- set CONAN_CPU_COUNT=50
- set CTEST_OUTPUT_ON_FAILURE=1
- conan install -if _build -o with_tests=True .
- conan build -bf _build -if _build .