diff options
author | Adrian Perez de Castro <aperez@igalia.com> | 2019-08-12 23:14:25 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2019-12-28 16:12:15 +0200 |
commit | d2f2e6fd5c0c73ba89e74677426f6abe675fcdc5 (patch) | |
tree | 8376ec25a894d916df05b926c92fc58862eb984a | |
parent | 9e3045c7f50a4666b9938366aec7cb9a938794e9 (diff) | |
download | libxkbcommon-d2f2e6fd5c0c73ba89e74677426f6abe675fcdc5.tar.gz libxkbcommon-d2f2e6fd5c0c73ba89e74677426f6abe675fcdc5.tar.bz2 libxkbcommon-d2f2e6fd5c0c73ba89e74677426f6abe675fcdc5.zip |
CI: Add build instructions for Windows
Signed-off-by: Ran Benita <ran@unusedvar.com>
-rw-r--r-- | .azure-pipelines/steps/dependencies-windows.yml | 7 | ||||
-rw-r--r-- | azure-pipelines.yml | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/.azure-pipelines/steps/dependencies-windows.yml b/.azure-pipelines/steps/dependencies-windows.yml new file mode 100644 index 0000000..1875724 --- /dev/null +++ b/.azure-pipelines/steps/dependencies-windows.yml @@ -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)' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ea209fe..0d1136b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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' |