How to use the new Visual Studio 2017 cmake features with gitlab CI runners

孤者浪人 提交于 2019-12-21 05:26:26

问题


I have a gitlab-ci-runner setup for linux in a straight forward way (cmake, make, make test). Here is how it roughly looks:

variables:
  GIT_SUBMODULE_STRATEGY: recursive

stages:
  - build
  - test

build:
  stage: build
  script: 
    - cd build
    - sh createBuildScripts.sh
    - cd release
    - make
    - cd ../..
  artifacts:
    untracked: true
  only:
    - master

# run tests using the binary built before
test:
  stage: test
  script:
    - cd build
    - cd release
    - make test
  only:
    - master

With Visual Studio 2017 having cmake support built-in, I was wondering if there is now a similarly simple solution available for windows?

来源:https://stackoverflow.com/questions/43610616/how-to-use-the-new-visual-studio-2017-cmake-features-with-gitlab-ci-runners

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!