Skip to content
38 changes: 24 additions & 14 deletions ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
# Windows
# https://ci.appveyor.com/project/ESRF/pyFAI

version: 2026.3.{build}
version: 2026.5.{build}
#shallow_clone: true
clone_depth: 1
build: false

build_cloud: WSCISOFT
image: WSCISOFT

notifications:
- provider: Email
to:
Expand All @@ -17,37 +20,41 @@ notifications:
on_build_status_changed: true

os:
- Visual Studio 2019
- Visual Studio 2022

cache:
- '%LOCALAPPDATA%\pip\Cache'

image: Visual Studio 2019
- packages

environment:
global:
WIN_SDK_ROOT: "C:\\Program Files\\Microsoft SDKs\\Windows"
VENV_BUILD_DIR: "venv_build"
VENV_TEST_DIR: "venv_test"
TMPDIR: "F:\\AppVeyor"

matrix:

# # Python 3.7
# - PYTHON_DIR: "C:\\Python37-x64"
# PYTHON_ARCH: "64"

# Python 3.10
- PYTHON_DIR: "C:\\Python310-x64"
- PYTHON_DIR: "C:\\Python\\3.10"
PYTHON_ARCH: "64"

# Python 3.11
- PYTHON_DIR: "C:\\Python\\3.11"
PYTHON_ARCH: "64"

# Python 3.12
- PYTHON_DIR: "C:\\Python312-x64"
- PYTHON_DIR: "C:\\Python\\3.12"
PYTHON_ARCH: "64"

# Python 3.13
- PYTHON_DIR: "C:\\Python313-x64"
- PYTHON_DIR: "C:\\Python\\3.13"
PYTHON_ARCH: "64"

# Python 3.14
- PYTHON_DIR: "C:\\Python\\3.14"
PYTHON_ARCH: "64"


init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

Expand All @@ -56,7 +63,7 @@ install:
- "SET PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%PATH%"

# Activate visual studio compiler
- '"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"'
- '"C:\\MSVC\\2022\\VC\\Auxiliary\\Build\\vcvars64.bat"'
- 'cl.exe'

# Upgrade/install distribution modules
Expand All @@ -78,14 +85,17 @@ build_script:
- "pip install --upgrade wheel tomli"
- "pip install numpy cython --upgrade"
- "pip install scipy --upgrade --pre"
- "pip install silx"
- "pip install --upgrade --pre git+https://github.com/kif/silx.git@4596_lock_json"
- "dir"
- "pip install --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ -r ci/requirements_appveyor.txt --upgrade"


# Print Python info
- "python ci\\info_platform.py"
- "pip list"
- "dir"
- 'python -c "import tempfile; print(tempfile.gettempdir())"'
- 'python -c "import silx.resources; r=silx.resources.ExternalResources(\"pyFAI\",\"http://www.silx.org/pub/pyFAI/testdata\");print(r.data_home)"'

# Build
- "python run_tests.py -m"
Expand Down
Loading