forked from semlanik/qtprotobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 856 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
os: windows
language: C++
branches:
only:
- master
- 0.1.0
- 0.2
- 0.3
- 0.4
- 0.5
- ci_check
before_install:
- wget -q https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-windows-x86-5.13.2.exe
install:
- choco install golang
- choco install yasm
- ./qt-opensource-windows-x86-5.13.2.exe --script ./.ci/qt_installer_windows.qs
script:
- mkdir build
- cd build
- setx GOROOT "c:\Go"
- setx path "%path%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
- set GOROOT="c:\Go"
- set PATH="%PATH%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
- cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.13.2\msvc2017;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools" -DBUILD_SHARED_LIBS=OFF ..
- cmake --build .
- ctest -C DEBUG -E qtgrpc_* --output-on-failure