blob: 79447278d7708e5a7f43f4df1824a961e16c9298 [file] [log] [blame]
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PythonVersion)
addToPath: true
architecture: $(PythonArch)
- script: |
python -m pip install --user --upgrade pip
python -m pip install --user setuptools wheel tox
name: InstallPythonModules
- task: CMake@1
name: CMakeConfigure
inputs:
workingDirectory: 'BLD'
cmakeArgs: $(CmakeGenerator) $(Build.SourcesDirectory) -DBUILD_STATIC_LIBS=$(StaticLibs) $(CmakeConfigExtraArgs)
- task: CMake@1
name: CMakeBuild
inputs:
workingDirectory: 'BLD'
cmakeArgs: --build . --config $(Config)
- script: ctest -C $(Config) -V -T Test --no-compress-output
displayName: CMakeTest
workingDirectory: 'BLD'
continueOnError: true
- task: PublishTestResults@2
inputs:
testRunTitle: Test run on $(Agent.OS) build $(Build.BuildNumber)
testResultsFormat: cTest
testResultsFiles: '**/Test.xml'
buildConfiguration: $(Config)
- bash: env | sort
displayName: Environment
condition: always()