forked from PyWavelets/pywt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
37 lines (31 loc) · 1.05 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
# https://ci.appveyor.com/project/PyWavelets/pywt
image: Visual Studio 2022
# Ensure we don't default to MSBuild
build: off
environment:
matrix:
- arch: x64
PY_PYTHON: 3.10
- arch: x86
PY_PYTHON: 3.10-32
- arch: x64
PY_PYTHON: 3.12
# From https://mesonbuild.com/Continuous-Integration.html#appveyor-for-windows
install:
- "py -VV" # Also, `py --list`
- "py -m pip install --upgrade pip build"
- "py -m pip install numpy --cache-dir c:\\tmp\\pip-cache"
- "py -m pip install --only-binary :all: Cython pytest matplotlib --cache-dir c:\\tmp\\pip-cache"
test_script:
- cmd: call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %arch%
- "py -m pip install . -v --config-settings=setup-args=--vsenv"
- "cd demo"
- "py -m pytest --pyargs pywt"
- "cd .."
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*
cache:
# Cache can be manually cleared like this:
# https://github.com/appveyor/ci/issues/207
- "c:\\tmp\\pip-cache"