-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
45 lines (39 loc) · 1.12 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image: Visual Studio 2019
cache:
- "%USERPROFILE%\\.cargo\\registry"
platform:
- x64
- x86
environment:
matrix:
- CONDA: "C:\\Miniconda35"
PYTHON_VERSION: "3.5"
- CONDA: "C:\\Miniconda36"
PYTHON_VERSION: "3.6"
BUILD_RUST: True
- CONDA: "C:\\Miniconda37"
PYTHON_VERSION: "3.7"
BUILD_RUST: True
- CONDA: "C:\\Miniconda38"
PYTHON_VERSION: "3.8"
BUILD_RUST: True
install:
# CONDA
- if "%PLATFORM%" == "x64" set CONDA=%CONDA%-x64
- set PATH=%CONDA%;%CONDA%\Scripts;%PATH%
- echo %CONDA%
- conda create -y -n build python=%PYTHON_VERSION%
- activate build
- conda install -y -c conda-forge --file requirements.txt
# RUST
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -y --default-toolchain nightly
- set PATH=%PATH%;%USERPROFILE%\\.cargo\\bin
# STATUS MESSAGES
- conda info
- python --version
build: off
test_script:
- if "%PLATFORM%" == "x64" if DEFINED BUILD_RUST (python testRust.py)
- python test.py
- python testCpp.py