如何将新的 Visual Studio 2017 cmake 功能与 gitlab CI runners 一起使用

NOh*_*Ohs 5 cmake gitlab-ci-runner visual-studio-2017

我以一种直接的方式(cmake、make、make test)为 linux 设置了 gitlab-ci-runner。这是它的大致外观:

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
Run Code Online (Sandbox Code Playgroud)

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