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 committed by GitHub
parent 18408f848a
commit f604a1dd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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