如何使用gitlab CI runners的新Visual Studio 2017 cmake功能

时间:2017-04-25 12:25:35

标签: cmake visual-studio-2017 gitlab-ci-runner

我以直截了当的方式为linux设置了gitlab-ci-runner设置(cmake,make,make test)。以下是它的大致外观:

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

Visual Studio 2017内置了cmake支持,我想知道现在是否有适用于Windows的类似简单解决方案?

0 个答案:

没有答案