Restarted the production of the app
This commit is contained in:
23
libs/CLI11/.ci/azure-build.yml
Normal file
23
libs/CLI11/.ci/azure-build.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
steps:
|
||||
# Needed on GCC 4.8 docker image for some reason
|
||||
- script: mkdir build
|
||||
displayName: "Make build directory"
|
||||
|
||||
- task: CMake@1
|
||||
inputs:
|
||||
cmakeArgs:
|
||||
.. -DCLI11_WARNINGS_AS_ERRORS=ON -DCLI11_SINGLE_FILE=$(cli11.single)
|
||||
-DCMAKE_CXX_STANDARD=$(cli11.std)
|
||||
-DCLI11_SINGLE_FILE_TESTS=$(cli11.single)
|
||||
-DCMAKE_BUILD_TYPE=$(cli11.build_type) $(cli11.options)
|
||||
displayName: "Configure"
|
||||
|
||||
- script: cmake --build . -- -j2 --keep-going
|
||||
displayName: "Build Unix"
|
||||
workingDirectory: build
|
||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||
|
||||
- script: cmake --build .
|
||||
displayName: "Build Windows"
|
||||
workingDirectory: build
|
||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||||
17
libs/CLI11/.ci/azure-cmake.yml
Normal file
17
libs/CLI11/.ci/azure-cmake.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
steps:
|
||||
# Note that silkeh/clang does not include ca-certificates, so check the shasum for verification
|
||||
- bash: |
|
||||
wget --no-check-certificate "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz"
|
||||
echo "29faa62fb3a0b6323caa3d9557e1a5f1205614c0d4c5c2a9917f16a74f7eff68 cmake-3.14.3-Linux-x86_64.tar.gz" | shasum -sca 256
|
||||
displayName: Download CMake
|
||||
|
||||
- task: ExtractFiles@1
|
||||
inputs:
|
||||
archiveFilePatterns: "cmake*.tar.gz"
|
||||
destinationFolder: "cmake_program"
|
||||
displayName: Extract CMake
|
||||
|
||||
- bash:
|
||||
echo
|
||||
"##vso[task.prependpath]$(Build.SourcesDirectory)/cmake_program/cmake-3.14.3-Linux-x86_64/bin"
|
||||
displayName: Add CMake to PATH
|
||||
9
libs/CLI11/.ci/azure-test.yml
Normal file
9
libs/CLI11/.ci/azure-test.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
steps:
|
||||
- script: ctest --output-on-failure -C $(cli11.build_type) -T test
|
||||
displayName: "Test"
|
||||
workingDirectory: build
|
||||
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: "cTest"
|
||||
testResultsFiles: "**/Test.xml"
|
||||
Reference in New Issue
Block a user