2024-02-02 08:15:19 +03:00
|
|
|
version: 4.3.0.99.{build}
|
2017-09-08 13:17:00 +03:00
|
|
|
|
2018-09-12 05:40:11 +03:00
|
|
|
image: Visual Studio 2015
|
|
|
|
platform: x64
|
|
|
|
configuration: # a trick to construct a build matrix with multiple Python versions
|
2023-07-05 01:27:57 +03:00
|
|
|
- '3.8'
|
2017-06-18 14:44:57 +03:00
|
|
|
|
2020-05-17 02:32:36 +03:00
|
|
|
# only build pull requests and
|
2022-10-09 02:53:48 +03:00
|
|
|
# commits to 'master' or any branch starting with 'release'
|
2020-05-17 02:32:36 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2022-10-09 02:53:48 +03:00
|
|
|
- /^release/
|
2020-05-17 02:32:36 +03:00
|
|
|
|
2017-06-18 14:44:57 +03:00
|
|
|
environment:
|
|
|
|
matrix:
|
2018-09-12 05:40:11 +03:00
|
|
|
- COMPILER: MSVC
|
2020-04-01 20:38:34 +03:00
|
|
|
TASK: python
|
2018-09-12 05:40:11 +03:00
|
|
|
- COMPILER: MINGW
|
2020-04-01 20:38:34 +03:00
|
|
|
TASK: python
|
2017-06-18 14:44:57 +03:00
|
|
|
|
2019-10-22 02:21:05 +03:00
|
|
|
clone_depth: 5
|
2017-06-18 14:44:57 +03:00
|
|
|
|
2017-09-08 13:17:00 +03:00
|
|
|
install:
|
2021-01-22 17:45:43 +03:00
|
|
|
- git submodule update --init --recursive # get `external_libs` folder
|
2019-04-09 05:23:32 +03:00
|
|
|
- set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
|
2017-09-08 13:17:00 +03:00
|
|
|
- set PYTHON_VERSION=%CONFIGURATION%
|
2020-04-01 20:38:34 +03:00
|
|
|
- set CONDA_ENV="test-env"
|
2020-12-22 14:20:01 +03:00
|
|
|
- ps: |
|
2024-05-23 05:03:55 +03:00
|
|
|
$env:CMAKE_BUILD_PARALLEL_LEVEL = 4
|
2022-02-18 03:36:41 +03:00
|
|
|
$env:MINICONDA = "C:\Miniconda3-x64"
|
2020-12-22 14:20:01 +03:00
|
|
|
$env:PATH = "$env:MINICONDA;$env:MINICONDA\Scripts;$env:PATH"
|
|
|
|
$env:BUILD_SOURCESDIRECTORY = "$env:APPVEYOR_BUILD_FOLDER"
|
2017-06-18 14:44:57 +03:00
|
|
|
|
2020-04-01 20:38:34 +03:00
|
|
|
build: false
|
2018-09-12 05:40:11 +03:00
|
|
|
|
|
|
|
test_script:
|
2022-12-29 21:23:39 +03:00
|
|
|
- conda config --remove channels defaults
|
|
|
|
- conda config --add channels nodefaults
|
2022-02-12 04:08:37 +03:00
|
|
|
- conda config --add channels conda-forge
|
|
|
|
- conda config --set channel_priority strict
|
2020-04-01 20:38:34 +03:00
|
|
|
- conda init powershell
|
|
|
|
- powershell.exe -ExecutionPolicy Bypass -File %APPVEYOR_BUILD_FOLDER%\.ci\test_windows.ps1
|