-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
44 lines (35 loc) · 1.11 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
version: 1.0.{build}
image:
- Visual Studio 2017
test: off
build:
parallel: true
platform:
- x64
environment:
global:
PYTHON: "C:\\conda"
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
matrix:
- PYTHON_VERSION: "36"
PYTHON_ARCH: "64"
- PYTHON_VERSION: "37"
PYTHON_ARCH: "64"
install:
- ps: |
# CMake generator
$env:CMAKE_GENERATOR = "Visual Studio 15 2017"
# Python environment
$env:PATH = "C:\Miniconda$env:PYTHON_VERSION-x64;C:\Miniconda$env:PYTHON_VERSION-x64\Scripts;$env:PATH"
$env:CMAKE_PREFIX_PATH = "C:\Miniconda$env:PYTHON_VERSION-x64;C:\Miniconda$env:PYTHON_VERSION-x64\Scripts"
$env:PYTHONHOME = "C:\Miniconda$env:PYTHON_VERSION-x64"
$env:CONDA_ROOT = "C:\Miniconda$env:PYTHON_VERSION-x64"
$env:PYTHON_EXE = "C:\Miniconda$env:PYTHON_VERSION-x64\python.exe"
- echo PATH %PATH%
- "%CONDA_ROOT%\\Scripts\\activate appveyor"
build_script:
- conda info -a
- "%PYTHON_EXE% setup.py install"
# - python update-conda-yaml.py
# - cp recipe/meta.yaml ./
# - conda-build --python="%PYTHON_VERSION%" .