Replace CMake steps with script steps (#156)

* Replace CMake steps with script steps
* Remove comment, use script tasks to invoke cmake going forward
This commit is contained in:
Daniel Jurek 2020-06-11 11:20:52 -07:00 коммит произвёл GitHub
Родитель 18408f848a
Коммит f604a1dd00
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 13 добавлений и 10 удалений

Просмотреть файл

@ -105,18 +105,21 @@ jobs:
# Execute only if there is at least one dependency to be installed
condition: and(succeeded(), not(eq(variables['vcpkg.deps'], '')))
- task: CMake@1
inputs:
cmakeArgs: --version
displayName: cmake version
- task: CMake@1
inputs:
cmakeArgs: $(build.args) ..
- script: mkdir build
displayName: create working directory
- script: cmake --version
workingDirectory: build
displayName: cmake --version
- script: cmake ${{ parameters.BuildArgs }} ..
workingDirectory: build
displayName: cmake generate
- task: CMake@1
inputs:
cmakeArgs: --build .
- script: cmake --build .
workingDirectory: build
displayName: cmake build
- script: |
ctest -V
workingDirectory: build