azure-pipelines[bot] | 2798ac1 | 2018-10-25 15:22:54 +0000 | [diff] [blame] | 1 | pool: |
| 2 | vmImage: 'VS2017-Win2016' |
| 3 | |
| 4 | variables: |
| 5 | buildPlatform: 'x86' |
| 6 | buildConfiguration: 'Debug' |
| 7 | triplet: 'x86-windows' |
| 8 | |
| 9 | steps: |
| 10 | - script: | |
| 11 | git clone https://github.com/Microsoft/vcpkg |
| 12 | cd vcpkg |
| 13 | .\bootstrap-vcpkg.bat |
| 14 | .\vcpkg integrate install |
| 15 | .\vcpkg install glib:x86-windows freetype:x86-windows cairo:x86-windows |
| 16 | cd .. |
| 17 | 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 ../ |
| 18 | msbuild harfbuzz.sln /p:Configuration=Debug /p:Platform=Win32 |
| 19 | cd build |
| 20 | ctest --output-on-failure -C Debug |
| 21 | displayName: Build and test |