CI: Add build instructions for Windows

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Adrian Perez de Castro 2019-08-12 23:14:25 +03:00 committed by Ran Benita
parent 9e3045c7f5
commit d2f2e6fd5c
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
steps:
- bash: |
set -euo pipefail
choco install ninja winflexbison3 -y --no-progress --stop-on-first-failure
python -m pip install --upgrade pip meson
displayName: 'Dependencies (Windows)'

View File

@ -30,3 +30,16 @@ jobs:
parameters:
options: -Denable-wayland=false -Denable-x11=false
prepare: 'export PATH="/usr/local/opt/bison/bin:${PATH}"'
- job: 'Windows'
dependsOn: []
pool:
vmImage: 'vs2017-win2016'
steps:
- template: .azure-pipelines/steps/dependencies-python.yml
- template: .azure-pipelines/steps/dependencies-windows.yml
- template: .azure-pipelines/steps/meson.yml
parameters:
compiler: cl
options: -Denable-wayland=false -Denable-x11=false -Denable-docs=false
prepare: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64'