Skip to content

Commit 01a3fee

Browse files
committed
Use same template for MSBuild Smoke tests.
1 parent 5517295 commit 01a3fee

File tree

4 files changed

+15
-158
lines changed

4 files changed

+15
-158
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -440,23 +440,23 @@ stages:
440440

441441
- template: yaml-templates/fail-on-issue.yaml
442442

443-
# Xamarin.Android (Smoke Tests MSBuild - Mac-0)
444-
- template: yaml-templates/run-msbuild-mac-tests.yaml
443+
# MSBuild Smoke Tests - Mac
444+
- template: yaml-templates/run-msbuild-tests.yaml
445445
parameters:
446-
job_name: mac_dotnet_tests_0
447-
job_suffix: One .NET
448-
nunit_categories: '| (TestCategory = SmokeTests $(DotNetNUnitCategories))'
449-
target_framework: $(DotNetStableTargetFramework)
450-
provisionatorChannel: ${{ parameters.provisionatorChannel }}
451-
452-
# Xamarin.Android (Smoke Tests MSBuild - Win-0)
453-
- template: yaml-templates\run-msbuild-win-tests.yaml
446+
testOS: macOS
447+
jobName: mac_smoke_msbuild_tests
448+
jobDisplayName: macOS > Tests > MSBuild
449+
agentCount: 2
450+
testFilter: cat = SmokeTests & cat != DotNetIgnore & cat != HybridAOT & cat != MkBundle & cat != MonoSymbolicate & cat != PackagesConfig & cat != StaticProject & cat != SystemApplication
451+
452+
# MSBuild Smoke Tests - Win
453+
- template: yaml-templates/run-msbuild-tests.yaml
454454
parameters:
455-
job_name: win_dotnet_tests_0
456-
job_suffix: One .NET
457-
nunit_categories: '| (TestCategory = SmokeTests $(DotNetNUnitCategories))'
458-
target_framework: $(DotNetStableTargetFramework)
459-
provisionatorChannel: ${{ parameters.provisionatorChannel }}
455+
testOS: Windows
456+
jobName: win_smoke_msbuild_tests
457+
jobDisplayName: Windows > Tests > MSBuild
458+
agentCount: 2
459+
testFilter: cat = SmokeTests & cat != DotNetIgnore & cat != HybridAOT & cat != MkBundle & cat != MonoSymbolicate & cat != PackagesConfig & cat != StaticProject & cat != SystemApplication
460460

461461
# Check - "Xamarin.Android (macOS > Tests > MSBuild+Emulator)"
462462
- job: mac_msbuilddevice_tests

build-tools/automation/yaml-templates/run-msbuild-mac-tests.yaml

Lines changed: 0 additions & 66 deletions
This file was deleted.

build-tools/automation/yaml-templates/run-msbuild-tests.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
vmImage: $(HostedMacImage)
1818
timeoutInMinutes: 180
1919
cancelTimeoutInMinutes: 5
20-
variables:
21-
androidSdkPlatforms: 33
2220
steps:
2321
- ${{ if eq(parameters.testOS, 'Windows') }}:
2422
- script: netsh int ipv4 set global sourceroutingbehavior=drop

build-tools/automation/yaml-templates/run-msbuild-win-tests.yaml

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)