New CI with aswfstaging/ci-base image
Conflicts:
azure-pipelines.yml
+# Azure CI
+
+jobs:
+- job: Linux
pool:
- vmImage: 'Ubuntu 16.04'
+ vmImage: 'ubuntu-16.04'
+ container: aswfstaging/ci-base:2019
steps:
-- script: echo Hello, world!
- displayName: 'Hello World'
\ No newline at end of file
+ - bash: |
+ mkdir build
+ cd build
+ cmake ..
+ make -j4
+ displayName: Build
+ - bash: |
+ cd build
+ ctest -T Test --output-on-failure -VV -E PyImathNumpyTest
+ displayName: Test
+ - task: PublishTestResults@2
+ condition: succeededOrFailed()
+ displayName: 'Publish test results'
+ inputs:
+ testResultsFormat: 'cTest'
+ testResultsFiles: '**/Test*.xml'
+ failTaskOnFailedTests: true
