diff options
author | Steven Koo <steven.koo@ni.com> | 2022-02-07 22:46:45 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-02-08 13:54:23 -0600 |
commit | 02152fd7a652444cd5a41709f1139ff1b3d42e8d (patch) | |
tree | 33071663818bcea2abfd959fef4412f3f012f527 | |
parent | a263d72769cc4e975f35f44360e729da9ed5a8d3 (diff) | |
download | uhd-02152fd7a652444cd5a41709f1139ff1b3d42e8d.tar.gz uhd-02152fd7a652444cd5a41709f1139ff1b3d42e8d.tar.bz2 uhd-02152fd7a652444cd5a41709f1139ff1b3d42e8d.zip |
ci: Enable ctest on macOS builds
Signed-off-by: Steven Koo <steven.koo@ni.com>
-rw-r--r-- | .ci/templates/job-uhd-build-src.yml | 2 | ||||
-rw-r--r-- | .ci/templates/steps-build-uhd-make-homebrew-macos.yml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.ci/templates/job-uhd-build-src.yml b/.ci/templates/job-uhd-build-src.yml index 549fe61d0..c43e90a1a 100644 --- a/.ci/templates/job-uhd-build-src.yml +++ b/.ci/templates/job-uhd-build-src.yml @@ -135,7 +135,6 @@ jobs: sourceFolder: $(Build.BinariesDirectory)/uhddev/ contents: build/Testing/** targetFolder: $(Common.TestResultsDirectory) - condition: and(succeeded(), ne('${{ parameters.toolset }}', 'make_homebrew_macos')) displayName: Copy ${{ parameters.toolset }} ctest results - task: PublishTestResults@2 @@ -144,5 +143,4 @@ jobs: testResultsFiles: $(Common.TestResultsDirectory)/build/Testing/**/Test.xml failTaskOnFailedTests: true testRunTitle: uhd ctest $(buildOSName)-${{ parameters.toolset }} - condition: and(succeeded(), ne('${{ parameters.toolset }}', 'make_homebrew_macos')) displayName: Publish $(buildOSName)-${{ parameters.toolset }} ctest results diff --git a/.ci/templates/steps-build-uhd-make-homebrew-macos.yml b/.ci/templates/steps-build-uhd-make-homebrew-macos.yml index 9ba7bfe52..6feaed48b 100644 --- a/.ci/templates/steps-build-uhd-make-homebrew-macos.yml +++ b/.ci/templates/steps-build-uhd-make-homebrew-macos.yml @@ -25,5 +25,11 @@ steps: displayName: make homebrew macOS UHD - script: | + cd ${{ parameters.uhdBuildDir }} + ctest --no-compress-output --output-on-failure -T test + continueOnError: true + displayName: ctest make homebrew macOS UHD + +- script: | rm -rf ${{ parameters.uhdBuildDir }}/pyenv displayName: Delete venv |