| 1 |
environment: |
| 2 |
matrix: |
| 3 |
- DESCRIPTION: "Run tests on Windows with 32-bit Python 3.14" |
| 4 |
MACHINE_TYPE: "x86" |
| 5 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 6 |
PYTHON: "C:\\Python314" |
| 7 |
PYTHON_VERSION: "3.14" |
| 8 |
L2TBINARIES_TRACK: "dev" |
| 9 |
TARGET: tests |
| 10 |
- DESCRIPTION: "Run tests on Windows with 64-bit Python 3.14" |
| 11 |
MACHINE_TYPE: "amd64" |
| 12 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 13 |
PYTHON: "C:\\Python314-x64" |
| 14 |
PYTHON_VERSION: "3.14" |
| 15 |
L2TBINARIES_TRACK: "dev" |
| 16 |
TARGET: tests |
| 17 |
- DESCRIPTION: "Build wheel on Windows with 32-bit Python 3.14" |
| 18 |
MACHINE_TYPE: "amd64" |
| 19 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 20 |
PYTHON: "C:\\Python314-x64" |
| 21 |
PYTHON_VERSION: "3.14" |
| 22 |
L2TBINARIES_TRACK: "dev" |
| 23 |
TARGET: wheel |
| 24 |
- DESCRIPTION: "Build wheel on Windows with 64-bit Python 3.14" |
| 25 |
MACHINE_TYPE: "amd64" |
| 26 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 27 |
PYTHON: "C:\\Python314-x64" |
| 28 |
PYTHON_VERSION: "3.14" |
| 29 |
L2TBINARIES_TRACK: "dev" |
| 30 |
TARGET: wheel |
| 31 |
|
| 32 |
install: |
| 33 |
- cmd: "%PYTHON%\\python.exe -m pip install -U build pip setuptools twine wheel" |
| 34 |
- ps: .\config\appveyor\install.ps1 |
| 35 |
|
| 36 |
build_script: |
| 37 |
- cmd: IF [%TARGET%]==[wheel] ( |
| 38 |
"%PYTHON%\\python.exe" -m build --wheel ) |
| 39 |
|
| 40 |
test_script: |
| 41 |
- cmd: IF [%TARGET%]==[tests] ( |
| 42 |
"%PYTHON%\\python.exe" run_tests.py && |
| 43 |
IF EXIST "tests\\end-to-end.py" ( |
| 44 |
set PYTHONPATH=. && |
| 45 |
"%PYTHON%\\python.exe" "tests\\end-to-end.py" --debug -c "config\\end-to-end.ini" ) ) |
| 46 |
|
| 47 |
artifacts: |
| 48 |
- path: dist\*.whl |