41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: 4.6.0.99.{build}
|
|
|
|
image: Visual Studio 2017
|
|
platform: x64
|
|
configuration:
|
|
- '3.10'
|
|
|
|
# only build on 'master' / 'main' and pull requests targeting it
|
|
branches:
|
|
only:
|
|
- master
|
|
- main
|
|
|
|
environment:
|
|
matrix:
|
|
- COMPILER: MSVC
|
|
TASK: python
|
|
- COMPILER: MINGW
|
|
TASK: python
|
|
|
|
clone_depth: 5
|
|
|
|
install:
|
|
- git submodule update --init --recursive # get `external_libs` folder
|
|
- set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
|
|
- set PYTHON_VERSION=%CONFIGURATION%
|
|
- powershell.exe -ExecutionPolicy ByPass -c "Invoke-RestMethod https://pixi.sh/install.ps1 | Invoke-Expression"
|
|
- set PATH=C:\Users\appveyor\.pixi\bin;%PATH%
|
|
- ps: |
|
|
$env:APPVEYOR = "true"
|
|
$env:CMAKE_BUILD_PARALLEL_LEVEL = 4
|
|
$env:BUILD_SOURCESDIRECTORY = "$env:APPVEYOR_BUILD_FOLDER"
|
|
# tell scripts where to put artifacts
|
|
# (this variable name is left over from when jobs ran on Azure DevOps)
|
|
$env:BUILD_ARTIFACTSTAGINGDIRECTORY = "$env:APPVEYOR_BUILD_FOLDER/artifacts"
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- powershell.exe -ExecutionPolicy Bypass -File %APPVEYOR_BUILD_FOLDER%\.ci\test-windows.ps1
|