.travis.yml 893 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/online_installers/qt-unified-windows-x86-online.exe -O qt-unified-windows-x86-online.exe
  14. install:
  15. - choco install golang
  16. - choco install yasm
  17. - ./qt-unified-windows-x86-online.exe --script ./.ci/qt_installer_windows.qs -d
  18. script:
  19. - mkdir build
  20. - cd build
  21. - setx GOROOT "c:\Go"
  22. - setx path "%path%;C:\Qt\5.15.2\msvc2019\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  23. - set GOROOT="c:\Go"
  24. - set PATH="%PATH%;C:\Qt\5.15.2\msvc2019\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  25. - cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019;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