CI: Add build instructions for Windows
Signed-off-by: Ran Benita <ran@unusedvar.com>master
parent
9e3045c7f5
commit
d2f2e6fd5c
|
@ -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)'
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue