From: Mike McLaughlin Date: Wed, 24 May 2023 03:27:36 +0000 (-0700) Subject: Test against new Ubuntu 22.04 image (#3906) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055542~39^2^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b12f92439b1646725110171e6358db5bb2e94e22;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Test against new Ubuntu 22.04 image (#3906) * Test against new Ubuntu 22.04 image * Add python path --- diff --git a/diagnostics.yml b/diagnostics.yml index d60a24146..599fce356 100644 --- a/diagnostics.yml +++ b/diagnostics.yml @@ -365,22 +365,22 @@ extends: # _BuildConfig: Debug # _BuildArch: x64 - #- template: /eng/pipelines/build.yml - # parameters: - # name: Ubuntu_22_04 - # osGroup: Linux - # container: test_ubuntu_22_04 - # dependsOn: Linux_x64 - # testOnly: true - # strategy: - # matrix: - # Build_Release: - # _BuildConfig: Release - # _BuildArch: x64 - # ${{ if in(variables['Build.Reason'], 'PullRequest') }}: - # Build_Debug: - # _BuildConfig: Debug - # _BuildArch: x64 + - template: /eng/pipelines/build.yml + parameters: + name: Ubuntu_22_04 + osGroup: Linux + container: test_ubuntu_22_04 + dependsOn: Linux_x64 + testOnly: true + strategy: + matrix: + Build_Release: + _BuildConfig: Release + _BuildArch: x64 + ${{ if in(variables['Build.Reason'], 'PullRequest') }}: + Build_Debug: + _BuildConfig: Debug + _BuildArch: x64 # Download, sign, package and publish - ${{ if ne(variables['System.TeamProject'], 'public') }}: diff --git a/eng/pipelines/pipeline-resources.yml b/eng/pipelines/pipeline-resources.yml index 524a3793c..0b3a5b51e 100644 --- a/eng/pipelines/pipeline-resources.yml +++ b/eng/pipelines/pipeline-resources.yml @@ -57,5 +57,6 @@ resources: - container: test_ubuntu_22_04 image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04 + options: '--env PYTHONPATH=/usr/bin/python3.10' stages: ${{ parameters.stages }}