Commit e46e5191 by Patrick Steinhardt

ci: upload test results

(cherry picked from commit bfcbde50)
parent ca21af22
...@@ -36,6 +36,13 @@ jobs: ...@@ -36,6 +36,13 @@ jobs:
workDir: '/build' workDir: '/build'
containerCommand: '/src/ci/test.sh' containerCommand: '/src/ci/test.sh'
detached: false detached: false
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: linux_trusty_clang_openssl - job: linux_trusty_clang_openssl
displayName: 'Linux (Trusty; Clang; OpenSSL)' displayName: 'Linux (Trusty; Clang; OpenSSL)'
...@@ -67,6 +74,13 @@ jobs: ...@@ -67,6 +74,13 @@ jobs:
workDir: '/build' workDir: '/build'
containerCommand: '/src/ci/test.sh' containerCommand: '/src/ci/test.sh'
detached: false detached: false
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: macos - job: macos
displayName: 'macOS' displayName: 'macOS'
...@@ -84,6 +98,13 @@ jobs: ...@@ -84,6 +98,13 @@ jobs:
env: env:
TMPDIR: $(Agent.TempDirectory) TMPDIR: $(Agent.TempDirectory)
LEAK_CHECK: leaks LEAK_CHECK: leaks
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: windows_vs_amd64 - job: windows_vs_amd64
displayName: 'Windows (Visual Studio; amd64)' displayName: 'Windows (Visual Studio; amd64)'
...@@ -95,6 +116,13 @@ jobs: ...@@ -95,6 +116,13 @@ jobs:
CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013 Win64" CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013 Win64"
- powershell: . '$(Build.SourcesDirectory)\ci\test.ps1' - powershell: . '$(Build.SourcesDirectory)\ci\test.ps1'
displayName: Test displayName: Test
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: windows_vs_x86 - job: windows_vs_x86
displayName: 'Windows (Visual Studio; x86)' displayName: 'Windows (Visual Studio; x86)'
...@@ -106,6 +134,13 @@ jobs: ...@@ -106,6 +134,13 @@ jobs:
CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013" CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013"
- powershell: . '$(Build.SourcesDirectory)\ci\test.ps1' - powershell: . '$(Build.SourcesDirectory)\ci\test.ps1'
displayName: Test displayName: Test
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: windows_mingw_amd64 - job: windows_mingw_amd64
displayName: 'Windows (MinGW; amd64)' displayName: 'Windows (MinGW; amd64)'
...@@ -123,6 +158,13 @@ jobs: ...@@ -123,6 +158,13 @@ jobs:
PATH: $(Agent.TempDirectory)\mingw64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin PATH: $(Agent.TempDirectory)\mingw64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
- powershell: . '$(Build.SourcesDirectory)\ci\test.ps1' - powershell: . '$(Build.SourcesDirectory)\ci\test.ps1'
displayName: Test displayName: Test
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
- job: windows_mingw_x86 - job: windows_mingw_x86
displayName: 'Windows (MinGW; x86)' displayName: 'Windows (MinGW; x86)'
...@@ -140,3 +182,10 @@ jobs: ...@@ -140,3 +182,10 @@ jobs:
PATH: $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin PATH: $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
- powershell: . '$(Build.SourcesDirectory)\ci\test.ps1' - powershell: . '$(Build.SourcesDirectory)\ci\test.ps1'
displayName: Test displayName: Test
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: 'results_*.xml'
searchFolder: '$(Build.BinariesDirectory)'
mergeTestResults: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment