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:
Родитель
18408f848a
Коммит
f604a1dd00
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче