.travis.yml 856 B

123456789101112131415161718192021222324252627
  1. os: windows
  2. language: C++
  3. branches:
  4. only:
  5. - master
  6. - 0.1.0
  7. - 0.2
  8. - 0.3
  9. - 0.4
  10. - 0.5
  11. - ci_check
  12. before_install:
  13. - wget -q https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-windows-x86-5.13.2.exe
  14. install:
  15. - choco install golang
  16. - choco install yasm
  17. - ./qt-opensource-windows-x86-5.13.2.exe --script ./.ci/qt_installer_windows.qs
  18. script:
  19. - mkdir build
  20. - cd build
  21. - setx GOROOT "c:\Go"
  22. - setx path "%path%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  23. - set GOROOT="c:\Go"
  24. - set PATH="%PATH%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  25. - cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.13.2\msvc2017;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools" -DBUILD_SHARED_LIBS=OFF ..
  26. - cmake --build .
  27. - ctest -C DEBUG -E qtgrpc_* --output-on-failure