Skip to content

Commit

Permalink
Use same template for MSBuild Smoke tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpobst committed Mar 3, 2023
1 parent 5517295 commit 01a3fee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 158 deletions.
30 changes: 15 additions & 15 deletions build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -440,23 +440,23 @@ stages:

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

# Xamarin.Android (Smoke Tests MSBuild - Mac-0)
- template: yaml-templates/run-msbuild-mac-tests.yaml
# MSBuild Smoke Tests - Mac
- template: yaml-templates/run-msbuild-tests.yaml
parameters:
job_name: mac_dotnet_tests_0
job_suffix: One .NET
nunit_categories: '| (TestCategory = SmokeTests $(DotNetNUnitCategories))'
target_framework: $(DotNetStableTargetFramework)
provisionatorChannel: ${{ parameters.provisionatorChannel }}

# Xamarin.Android (Smoke Tests MSBuild - Win-0)
- template: yaml-templates\run-msbuild-win-tests.yaml
testOS: macOS
jobName: mac_smoke_msbuild_tests
jobDisplayName: macOS > Tests > MSBuild
agentCount: 2
testFilter: cat = SmokeTests & cat != DotNetIgnore & cat != HybridAOT & cat != MkBundle & cat != MonoSymbolicate & cat != PackagesConfig & cat != StaticProject & cat != SystemApplication

# MSBuild Smoke Tests - Win
- template: yaml-templates/run-msbuild-tests.yaml
parameters:
job_name: win_dotnet_tests_0
job_suffix: One .NET
nunit_categories: '| (TestCategory = SmokeTests $(DotNetNUnitCategories))'
target_framework: $(DotNetStableTargetFramework)
provisionatorChannel: ${{ parameters.provisionatorChannel }}
testOS: Windows
jobName: win_smoke_msbuild_tests
jobDisplayName: Windows > Tests > MSBuild
agentCount: 2
testFilter: cat = SmokeTests & cat != DotNetIgnore & cat != HybridAOT & cat != MkBundle & cat != MonoSymbolicate & cat != PackagesConfig & cat != StaticProject & cat != SystemApplication

# Check - "Xamarin.Android (macOS > Tests > MSBuild+Emulator)"
- job: mac_msbuilddevice_tests
Expand Down
66 changes: 0 additions & 66 deletions build-tools/automation/yaml-templates/run-msbuild-mac-tests.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions build-tools/automation/yaml-templates/run-msbuild-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
vmImage: $(HostedMacImage)
timeoutInMinutes: 180
cancelTimeoutInMinutes: 5
variables:
androidSdkPlatforms: 33
steps:
- ${{ if eq(parameters.testOS, 'Windows') }}:
- script: netsh int ipv4 set global sourceroutingbehavior=drop
Expand Down
75 changes: 0 additions & 75 deletions build-tools/automation/yaml-templates/run-msbuild-win-tests.yaml

This file was deleted.

0 comments on commit 01a3fee

Please # to comment.