.travis.yml 848 B

1234567891011121314151617181920212223242526
  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. - ci_check
  11. before_install:
  12. - wget -q https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-windows-x86-5.13.2.exe
  13. install:
  14. - choco install golang
  15. - choco install yasm
  16. - ./qt-opensource-windows-x86-5.13.2.exe --script ./.ci/qt_installer_windows.qs
  17. script:
  18. - mkdir build
  19. - cd build
  20. - setx GOROOT "c:\Go"
  21. - setx path "%path%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  22. - set GOROOT="c:\Go"
  23. - set PATH="%PATH%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  24. - cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.13.2\msvc2017;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools" -DBUILD_SHARED_LIBS=OFF ..
  25. - cmake --build .
  26. - ctest -C DEBUG -E qtgrpc_* --output-on-failure