Skip to content

Commit

Permalink
[CI] Ensure we have dotnet 3.x to be able to run ESRP. (#14323)
Browse files Browse the repository at this point in the history
* [CI] Ensure we have dotnet 3.x to be able to run ESRP.

* do runtime instead

* [CI] Force dotnet installation path

* [CI] Move task after the build created the path dotnet is looking for

* [CI] Remove extra /

* [CI] Try getting 5.x and 3x installed

* Avoid blank space

Co-authored-by: Alex Soto <alex@alexsoto.me>
  • Loading branch information
mandel-macaque and dalexsoto committed Mar 6, 2022
1 parent e49d854 commit e5f7cd7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tools/devops/automation/templates/build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ steps:
MacDeveloper: $(mac-developer)
HostedMacKeychainPassword: ${{ parameters.keyringPass }}

# the ddsign plugin needs this version or it will crash and will make the sign step fail
- task: UseDotNet@2
inputs:
packageType: sdk
version: 3.x
displayName: 'Install .NET Core SDK 3.x needed for ESRP'

- task: UseDotNet@2
inputs:
packageType: sdk
version: 5.x
displayName: 'Install .NET 5.x SDK'

- task: xamops.azdevex.provisionator-task.provisionator@2
displayName: 'Provision Brew components'
inputs:
Expand Down

3 comments on commit e5f7cd7

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

ℹ️ API Diff (from PR only) (please review changes)

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
  • ⚠️ Generator diff comments have not been provided.

Packages generated

View packages

Test results

8 tests failed, 227 tests passed.

Failed tests

  • monotouch-test/Mac [dotnet]/Debug [dotnet]: Failed (Test run failed.
    Tests run: 2570 Passed: 2492 Inconclusive: 6 Failed: 4 Ignored: 74)
  • monotouch-test/Mac [dotnet]/Debug (static registrar) [dotnet]: Failed (Test run failed.
    Tests run: 2567 Passed: 2490 Inconclusive: 6 Failed: 4 Ignored: 73)
  • monotouch-test/tvOS - simulator/Release (all optimizations) [dotnet]: Failed
  • monotouch-test/tvOS - simulator/Debug (all optimizations) [dotnet]: Failed
  • xammac tests/Mac Modern/Debug: Failed (Test run failed.
    Tests run: 2640 Passed: 2559 Inconclusive: 10 Failed: 5 Ignored: 76)
  • xammac tests/Mac Modern/Debug (all optimizations): Failed (Test run failed.
    Tests run: 2637 Passed: 2557 Inconclusive: 10 Failed: 4 Ignored: 76)
  • xammac tests/Mac Modern/Release: Failed (Test run failed.
    Tests run: 2637 Passed: 2555 Inconclusive: 10 Failed: 5 Ignored: 77)
  • xammac tests/Mac Modern/Release (all optimizations): Failed (Test run failed.
    Tests run: 2637 Passed: 2555 Inconclusive: 10 Failed: 4 Ignored: 78)

Pipeline on Agent XAMMINI-061.Monterey
[CI] Ensure we have dotnet 3.x to be able to run ESRP. (#14323)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Tests failed catastrophically on VSTS: device tests iOS 🔥

Not enough free space in the host.

Pipeline on Agent
[CI] Ensure we have dotnet 3.x to be able to run ESRP. (#14323)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Tests failed catastrophically on VSTS: device tests iOS (no summary found). 🔥

Result file D:\a\1\s\Reports\TestSummary-iOS64\TestSummary.md not found.

Pipeline on Agent
[CI] Ensure we have dotnet 3.x to be able to run ESRP. (#14323)

Please sign in to comment.