Revision bb75e9b8df9cad1572aa4e7acc4424d7a4c57a47 authored by Jens Finkhaeuser on 28 February 2021, 12:39:20 UTC, committed by Jens Finkhaeuser on 28 February 2021, 12:39:20 UTC
1 parent 2f0fe16
appveyor.yml
version: '{build}-{branch}'
os: Visual Studio 2017
environment:
global:
PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "64"
matrix:
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
#
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
#
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat
configuration:
- Debug
build:
verbosity: detailed
install:
- cmd: |
%PYTHON%\\python.exe -m pip install --disable-pip-version-check --user meson
build_script:
- cmd: |
call "%VCVARSALL%"
mkdir build
cd build
meson ..
ninja
test_script:
- cmd: |
test\\unittests "--gtest_output=xml:test\\unittests-results.xml"
on_finish:
- ps: |
If (Test-Path test\\unittests-results.xml) {
(New-Object System.Net.WebClient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path test\\unittests-results.xml))
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...