summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorazure-pipelines[bot] <azure-pipelines[bot]@users.noreply.github.com>2018-10-25 15:22:54 +0000
committerazure-pipelines[bot] <azure-pipelines[bot]@users.noreply.github.com>2018-10-25 15:22:54 +0000
commit2798ac1c28edc4ba6f2283784d1027393f588f8c (patch)
tree62942daf00cc8381e0bc42ad4bb924bd75bfc17f /azure-pipelines.yml
parent9a830a17318446dab86e1439f7167d8a698eb856 (diff)
Set up CI with Azure Pipelines
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 00000000..88c0a984
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,21 @@
+pool:
+ vmImage: 'VS2017-Win2016'
+
+variables:
+ buildPlatform: 'x86'
+ buildConfiguration: 'Debug'
+ triplet: 'x86-windows'
+
+steps:
+- script: |
+ git clone https://github.com/Microsoft/vcpkg
+ cd vcpkg
+ .\bootstrap-vcpkg.bat
+ .\vcpkg integrate install
+ .\vcpkg install glib:x86-windows freetype:x86-windows cairo:x86-windows
+ cd ..
+ cmake -Bbuild -H. -DHB_HAVE_UNISCRIBE=ON -DHB_HAVE_DIRECTWRITE=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_FREETYPE=ON -DHB_BUILD_UTILS=ON -G "%generator%" -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake ../
+ msbuild harfbuzz.sln /p:Configuration=Debug /p:Platform=Win32
+ cd build
+ ctest --output-on-failure -C Debug
+ displayName: Build and test