Граф коммитов

703 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 4c3fccc8c7
[devops] Don't try to upload a mac test package if it doesn't exist. (#15995) 2022-09-19 14:12:22 +02:00
Rolf Bjarne Kvinge b230ef3601 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14.1-2022-09-16 2022-09-19 14:11:45 +02:00
Rolf Bjarne Kvinge 85e3332b82 Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-09-16 2022-09-19 14:10:49 +02:00
Rolf Bjarne Kvinge 77a95b248d
[devops] Only add platforms we're building for into WorkloadRollback.json. (#15973)
Also move bash code from yml to a .sh file for easier reading, writing and
debugging.
2022-09-16 18:42:26 +02:00
Rolf Bjarne Kvinge 4215eae4a3 Merge main into xcode14.1. 2022-09-16 18:35:48 +02:00
Rolf Bjarne Kvinge 40b3831bc7 Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-09-16 2022-09-16 18:32:01 +02:00
Rolf Bjarne Kvinge 77bba5ce3a
[devops] Add some debug code to figure out a random error. (#15947)
The 'Expand tests.' step sometimes fails with:

> ##[error]Bash exited with code '1'.

Which is very unhelpful. Make bash more verbose to see if we can figure out what's going wrong.
2022-09-15 12:00:31 +02:00
Rolf Bjarne Kvinge 3545f9ce23
[devops] Remove unused file. (#15945)
It seems this file hasn't been used since b1ea4b51aa.
2022-09-15 11:59:49 +02:00
Rolf Bjarne Kvinge 1f3fb41d63
[devops] Improve check for crash reports before collecting them. (#15938)
Otherwise this happens if the directory is empty:

    + test -d /Users/runner/Library/Logs/DiagnosticReports
    + zip -9rj /Users/runner/work/1/s/crash-reports.zip /Users/runner/Library/Logs/DiagnosticReports

    zip error: Nothing to do! (try: zip -9rj /Users/runner/work/1/s/crash-reports.zip . -i /Users/runner/Library/Logs/DiagnosticReports)
2022-09-15 11:58:35 +02:00
Rolf Bjarne Kvinge 2d0c1c5462
[devops] Don't try to publish test results unless there are any tests results. (#15911)
Don't try to publish test results unless there are any tests results.

Fixes this [horribly/amusingly incorrect error][1] in the publish task:

    ##[error]Error: Failed find: ENOENT: no such file or directory, lstat '/System/Library/Frameworks/iTunesLibrary.framework/Versions/Versions'
    ##[section]Finishing: Publish NUnit Device Test Results

Also stop failing the task on failing tests, because we already have another task that fail if there are failing tests (the task that runs the tests).

[1]: https://github.com/microsoft/azure-pipelines-tasks/issues/16786
2022-09-15 10:58:35 +02:00
Rolf Bjarne Kvinge f93e5fba12 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-13 2022-09-13 11:00:35 +02:00
Rolf Bjarne Kvinge dea88f7fed Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-09-13 2022-09-13 10:59:01 +02:00
Rolf Bjarne Kvinge e56103479c
[devops] Don't create legacy iOS/Mac symlinks unless legacy build is enabled. (#15930)
* Move the bash in the yml file to a separate script file to ease reading, writing & debugging.
* Don't install any symlinks if legacy Xamarin isn't enabled.
* Only install the iOS / macOS symlink if the corresponding build is enabled.
2022-09-13 08:37:05 +02:00
Rolf Bjarne Kvinge 1552a1e20b
[devops] Update and add tests (#15920) 2022-09-12 11:39:52 +02:00
Rolf Bjarne Kvinge 9f0b794d28 Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-09-09 2022-09-09 16:55:20 +02:00
Rolf Bjarne Kvinge 9bca30dce6 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-09 2022-09-09 16:54:19 +02:00
Rolf Bjarne Kvinge ea855fda92
[devops] A missing test must still be reported (as a failing test). (#15901) 2022-09-09 16:53:31 +02:00
Rolf Bjarne Kvinge 2bb0e50ce4
[devops] Always send off a test summary. (#15883)
Even if it's just to say we couldn't compute a test summary.
2022-09-09 13:21:25 +02:00
Rolf Bjarne Kvinge 5abbae36ca
[devops] Fix double closing details tag when creating test results. (#15902)
Also simplify the code a bit to reduce duplicated code.
2022-09-09 10:50:55 +02:00
Rolf Bjarne Kvinge c232fc1583
[devops] Improve debug statements. (#15904)
* Special characters in powershell are rather, hrm, _uncommon_, in that
  they're prefixed with a backtick instead of backslash. Fix code accordingly.
* Use 'Write-Debug' instead of 'Write-Host' in a few places.
* Simplified/improved a few debug statements to make them clearer/less redundant.
* Added tabs in a few places to make debug statements indent properly.
* Fixed a typo.
2022-09-08 17:52:57 +02:00
Rolf Bjarne Kvinge 5d2b9511f4
[devops] Fix a few exceptions when parsing test results to report failures instead. (#15899) 2022-09-08 17:34:02 +02:00
Rolf Bjarne Kvinge c2f743d182
[devops] Improve a throw statement to have more information. (#15900) 2022-09-08 17:33:00 +02:00
Rolf Bjarne Kvinge 605ee8b58f
[devops] A crashed test is also a failed test, so don't report that all tests succeeded if there are any crashed tests. (#15903) 2022-09-08 17:32:04 +02:00
Rolf Bjarne Kvinge 9a52a6fbe7
[devops] Fix paths to VSDrops after latest changes to make relaunching jobs work. (#15891) 2022-09-08 07:59:14 +02:00
Rolf Bjarne Kvinge 815d91fbc9
[devops] Fix tests. (#15885)
$Env:PWD doesn't seem to work on the bots, so try something else.
2022-09-07 21:14:10 +02:00
Rolf Bjarne Kvinge 681fce6036 Merge remote-tracking branch 'origin/net7.0' into bump-main-in-net7.0-2022-09-07 2022-09-07 11:38:51 +02:00
Rolf Bjarne Kvinge ea4b193303 Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-09-07 2022-09-07 10:57:58 +02:00
Rolf Bjarne Kvinge 433c48a35e Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-07 2022-09-07 10:56:00 +02:00
Rolf Bjarne Kvinge 494e4f306d
[devops] Make test steps fail if there are any test failures. (#15764)
This makes it possible to re-run tests when they fail (since Azure DevOps only
allows re-running failed jobs).

It shouldn't affect any release pipelines anymore, because the release
pipeline only depends on the job that builds the packages now.

This also involved some CI changes, to be able to figure out the last test results when a test step is executed multiple times. Also, the GitHub comment will now state the run attempt (if >1) for each test ([example](https://github.com/xamarin/xamarin-macios/pull/15764#issuecomment-1235891944))
2022-09-07 10:38:23 +02:00
Rolf Bjarne Kvinge ea6048686a
[devops] Move bash script from yaml to it's own bash file. (#15861)
This makes it easier to both read & write bash code (syntax highlighting in
the script file, shellscript to validate, etc.), as well as testing out the
script locally.
2022-09-06 16:17:25 +02:00
Rolf Bjarne Kvinge 7858937c33 🪄 2022-09-06 14:41:21 +02:00
Rolf Bjarne Kvinge 4cc0bde648
[tests] Introspection needs more time on older macOS bots. (#15862) 2022-09-06 14:05:11 +02:00
Rolf Bjarne Kvinge 2197e2b857
[devops] Upload crash reports from the build as well. (#15863) 2022-09-06 09:12:47 +02:00
Rolf Bjarne Kvinge d4f5979f3f [dotnet] Skip installing the custom dotnet/runtime workloads when installing on test bots.
It seems to work locally for some reason 🤷‍♂️
2022-09-02 18:42:36 +02:00
Rolf Bjarne Kvinge 67d7c79cc5 Add .NET bootstrapping to the install-workloads script. 2022-09-02 18:23:36 +02:00
Rolf Bjarne Kvinge 3a2cdaf9c6 Move bash script from yaml to bash file. 2022-09-02 18:23:10 +02:00
Rolf Bjarne Kvinge 496acb2a05
[devops] Fix echo command that prints a comment. (#15824)
Fix echo command so that the text to be printed isn't interpreted as a
comment.

Really everything should be quoted in bash :/
2022-09-01 15:30:20 +02:00
Rolf Bjarne Kvinge b9b6ac2ec3
[devops] Stop doing things that don't work. (#15828)
There's no builder.keychain on the bots that submit signing requests.
2022-08-31 16:31:47 -04:00
Rolf Bjarne Kvinge 016c156fa3
Merge main into xcode14. (#15803) 2022-08-31 14:22:51 +02:00
Rolf Bjarne Kvinge 4922bf4570 Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-08-31 2022-08-31 13:45:17 +02:00
Rolf Bjarne Kvinge 4c36652927
[devops] Make sure no errors are ignored during signing. (#15802)
Make sure bash doesn't ignore any errors during signing. This makes it easier
to diagnose signing failures, because they don't show up in weird ways later.
2022-08-31 12:10:43 +02:00
VS MobileTools Engineering Service 2 04c566d383
[xcode14] [CI] Bump microbuild. (#15815)
Backport of #15813

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-30 16:05:14 -04:00
VS MobileTools Engineering Service 2 e1b8eff6a9
[net7.0] [CI] Bump microbuild. (#15814)
Backport of #15813

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-30 16:04:56 -04:00
Manuel de la Pena 409c80dd9c
[CI] Bump microbuild. (#15813) 2022-08-30 16:00:07 -04:00
Rolf Bjarne Kvinge ff3aeb5073 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-08-30 2022-08-30 11:14:47 +02:00
Rolf Bjarne Kvinge fa6971d6f2
[devops] Remove unused file. (#15791)
Looks like the usage of this file was removed in b1ea4b51aa.
2022-08-30 09:43:56 +02:00
VS MobileTools Engineering Service 2 246aa83443
[main] [ci] Add support to main for multi-targeting in VS (#15786)
Context: https://github.com/xamarin/yaml-templates/pull/180
Context: https://github.com/xamarin/yaml-templates/pull/195
Context: https://github.com/xamarin/yaml-templates/pull/199
Context: https://github.com/xamarin/xamarin-macios/pull/15761

Updates the build to use the latest MSI generation template. The v3
template uses the latest changes from arcade which include a large
refactoring, support for multi-targeting, and support for workload pack
group MSIs.

The build will now produce two different VS Drop artifacts.  The MSI and
VSMAN files generated for SDK packs have been split out into a new
`vsdrop-multitarget-signed` artifact, allowing us to include multiple
versions of the SDK packs in VS.

All of the SDK packs have been renamed to include a `.net6` suffix to
match the pack aliases that will be referenced in the .NET 7 manifests.


Backport of #15776

Co-authored-by: Peter Collins <pecolli@microsoft.com>
2022-08-29 12:08:39 +02:00
Rolf Bjarne Kvinge 5ca5a963bc
[tests] Improve handling timed out macOS tests. (#15747) 2022-08-29 12:06:25 +02:00
Rolf Bjarne Kvinge 4289148b28 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-08-26 2022-08-26 13:24:27 +02:00
Rolf Bjarne Kvinge a932ca2d7c Merge remote-tracking branch 'origin/main' into bump-main-in-net7.0-2022-08-26 2022-08-26 13:22:24 +02:00
Rolf Bjarne Kvinge 3b1037e56f
[devops] Make the binlog artifact name unique. (#15735)
Make the binlog artifact name unique across build attempts, so that uploading the binlog archive doesn't fail in subsequent build attempts:

> ##[error]Artifact all-binlogs-test-simulator_cecil-6594281 already exists for build 6594281.
2022-08-25 09:57:31 +02:00
Rolf Bjarne Kvinge 771f694961
[devops] Ignore failures to install brew components. (#15719)
Hopefully works around this problem:

    [...]
    [08:14:16 VRB] Preloading sudo access since brew installation cannot be run as root
    [08:14:16 VRB] Exec[0] (flags: RedirectStdout, RedirectStderr, Default): /usr/bin/sudo -v
    [08:14:16 DBG] Adding main (originally refs/heads/main) to telemetry
    [08:14:16 DBG] Adding main (originally refs/heads/main) to telemetry
    [08:14:16 VRB] Exec[0] exited 1
    Unhandled exception. Xamarin.Provisioning.Exec+ExitException: /usr/bin/sudo terminated with exit code 1
       at Xamarin.Provisioning.Exec.Run(ExecFlags flags, String command, String[] arguments) in /Users/runner/work/1/s/Provisionator/Exec.cs:line 297
       at Xamarin.Provisioning.ProvisioningScript.BrewPackages(BrewOptions options, String[] packages) in /Users/runner/work/1/s/Provisionator/ProvisioningScript_Brew.cs:line 104
       at Xamarin.Provisioning.ProvisioningScript.BrewPackages(String[] packages) in /Users/runner/work/1/s/Provisionator/ProvisioningScript_Brew.cs:line 23
       at Submission#0.<<Initialize>>d__0.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.RunSubmissionsAsync(ScriptExecutionState executionState, ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
       at Xamarin.Provisioning.ProvisioningScript.RunScriptAsync(String scriptContents, String scriptFile, CancellationToken cancellationToken) in /Users/runner/work/1/s/Provisionator/ProvisioningScript.cs:line 118
       at Xamarin.Provisioning.Entry.MainAsync(String[] args) in /Users/runner/work/1/s/Provisionator/Entry.cs:line 256
       at Xamarin.Provisioning.Entry.MainAsync(String[] args) in /Users/runner/work/1/s/Provisionator/Entry.cs:line 339
       at Xamarin.Provisioning.Entry.Main(String[] args) in /Users/runner/work/1/s/Provisionator/Entry.cs:line 60
    ##[error]The process '/Users/builder/azdo/_work/_tool/provisionator/0.2.635/x64/provisionator' failed with exit code null
2022-08-23 15:25:57 +02:00
Rolf Bjarne Kvinge 7dceae40dc
[xcode14] Bump api-tools to get better breaking changes detection. (#15689)
New commits in rolfbjarne/api-tools:

* rolfbjarne/api-tools@373fc1b Allow changes to ObjCRuntime.Constants.SdkVersion too without considering them breaking changes

Diff: 9b9a5bb668..373fc1b50a
2022-08-22 18:41:46 +02:00
Alex Soto 1434ede326 Merge remote-tracking branch 'xamarin/main' into net7.0-a-new-hope 2022-08-05 17:58:58 -04:00
VS MobileTools Engineering Service 2 d08af456a8
[xcode14] [CI] Make sure we do not have pkgs from other builds. (#15624)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-04 10:40:35 -04:00
Manuel de la Pena 182bee91b7
[CI] Make sure we do not have pkgs from other builds. (#15619) 2022-08-04 10:31:46 -04:00
Manuel de la Pena 57adecc437 Merge branch 'main' into xcode14-merge-main 2022-08-03 10:34:56 -04:00
Manuel de la Pena 8a17b2592f
[CI] List the installed frameworks in the test bot. (#15611) 2022-08-03 10:25:20 -04:00
VS MobileTools Engineering Service 2 811dde665a
[CI] Remove older pkgs in the system to make sure we are not running the tests with an older version. (#15547)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-20 12:33:16 -04:00
VS MobileTools Engineering Service 2 263410f3da
[devops] Try parallelize less during the API diff build. (#15536)
For some reason the C# compilers crash a lot during the build in src/ when
building for the API diff (but not the normal build!). So test the theory that
we're overloading the bot in question (OOM maybe?) by slowing down a bit.

I have to say that if this works and the theory is proven, it's kind of sad
that after over a decade doing -j8 the bot situation has gotten worse...

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-07-19 19:20:26 -04:00
Manuel de la Pena 3fb77838b2
[CI] Remove older pkgs in the system to make sure we are not running the tests with an older version. (#15545) 2022-07-19 18:24:18 -04:00
Rolf Bjarne Kvinge 0021abb0f5
[devops] Try parallelize less during the API diff build. (#15471)
For some reason the C# compilers crash a lot during the build in src/ when
building for the API diff (but not the normal build!). So test the theory that
we're overloading the bot in question (OOM maybe?) by slowing down a bit.

I have to say that if this works and the theory is proven, it's kind of sad
that after over a decade doing -j8 the bot situation has gotten worse...

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-18 01:42:47 -04:00
Rolf Bjarne Kvinge 12925a7952
[xcode14] Merge main into xcode14. (#15502)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
2022-07-15 10:22:11 +02:00
Rolf Bjarne Kvinge 999e7235ea Merge remote-tracking branch 'origin/main' into net7.0 2022-07-14 08:50:07 +02:00
Rolf Bjarne Kvinge d17aa016b4
[devops] Fix publishing in the presence of our global.json (second part) (#15487)
We can't use the global.json located in the root of our repo, because makes it
required to use the exact .NET version we're referencing in our
eng/Versions.Details.xml file. So in order to not use it, we set the working
directory to the parent directory of xamarin-macios.

Otherwise this happens:

    Could not execute because the application was not found or a compatible .NET SDK is not installed.
    Possible reasons for this include:
      * You intended to execute a .NET program:
          The application 'build' does not exist.
      * You intended to execute a .NET SDK command:
          A compatible installed .NET SDK for global.json version [6.0.301-rtm.22280.1] from [D:\a\1\s\xamarin-macios\global.json] was not found.
            6.0.201 [C:\hostedtoolcache\windows\dotnet\sdk]
          Install the [6.0.301-rtm.22280.1] .NET SDK or update [D:\a\1\s\xamarin-macios\global.json] with an installed .NET SDK:
    & : The term 'C:\hostedtoolcache\windows\darc\darc' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
2022-07-13 20:36:02 +02:00
Rolf Bjarne Kvinge 617d857af8
[devops] Fix publishing in the presence of our global.json (#15481)
We can't use the global.json located in the root of our repo, because makes it
required to use the exact .NET version we're referencing in our
eng/Versions.Details.xml file. So in order to not use it, we set the working
directory to the parent directory of xamarin-macios.

Otherwise this happens:

    Could not execute because the application was not found or a compatible .NET SDK is not installed.
    Possible reasons for this include:
      * You intended to execute a .NET program:
          The application 'build' does not exist.
      * You intended to execute a .NET SDK command:
          A compatible installed .NET SDK for global.json version [6.0.301-rtm.22280.1] from [D:\a\1\s\xamarin-macios\global.json] was not found.
            6.0.201 [C:\hostedtoolcache\windows\dotnet\sdk]
          Install the [6.0.301-rtm.22280.1] .NET SDK or update [D:\a\1\s\xamarin-macios\global.json] with an installed .NET SDK:
2022-07-13 14:12:06 +02:00
Rolf Bjarne Kvinge ac1fa25816
[mlaunch] Download mlaunch from NuGet instead of building from maccore. (#15298)
Download mlaunch from NuGet instead of building from maccore, and copy the
downloaded files into the packages we ship (both legacy Xamarin's pkg and .NET
nupkgs).

Eventually we'll want to reference the mlaunch NuGet from the .NET nupkgs, but
that's a later step.
2022-07-13 11:00:15 +02:00
Rolf Bjarne Kvinge bdfdd19bff
[devops] Simplify validation for cleanup script. (#15470) 2022-07-13 10:43:42 +02:00
Rolf Bjarne Kvinge 85531ebaeb Revert "[CI] Use the Stable Xcode channel in main related branches. (#15406)"
This reverts commit 3314ed823b.
2022-07-12 14:52:46 +02:00
Rolf Bjarne Kvinge 5e993ebe49 Merge remote-tracking branch 'origin/main' into net7.0 2022-07-12 11:18:39 +02:00
Rolf Bjarne Kvinge a6c5b914ab
[devops] Enable verbose build. (#15366)
* [devops] Enable verbose build.

* Allow to set the build in verbose when the pipeline is in debug mode.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 20:03:47 +02:00
Rolf Bjarne Kvinge 4b9d8aef5b Merge remote-tracking branch 'origin/main' into net7.0 2022-07-11 10:51:01 +02:00
Rolf Bjarne Kvinge a55ec9ea7f
[devops] Make sure BUILD_REVISION is set to something during the build. (#15374)
We have logic that depend on this variable to determine whether we're in CI or not.
2022-07-08 19:51:33 +02:00
Rolf Bjarne Kvinge ba3223a3f3 Merge remote-tracking branch 'origin/main' into net7.0 2022-07-08 17:03:31 +02:00
Manuel de la Pena 279054ab25
[CI] Change logic to take into account that CI has no labels. (#15414) 2022-07-07 15:57:35 -04:00
Rolf Bjarne Kvinge 2487c1845d Merge remote-tracking branch 'origin/main' into net7.0 2022-07-07 17:03:58 +02:00
Manuel de la Pena 3314ed823b
[CI] Use the Stable Xcode channel in main related branches. (#15406)
Xcode14 broke actool. We have created two diff bot images:

- Stable: Contains the latests stable xcode (xcode13.4)
- Beta: Contains the latests beta xcode OR will allow it to be
  installed.

By doing this we mitigate the possible issues that the new Xcode might
create. Some of the bots have already been migrated.

This commit SHOULD NOT be backported to xcode14.
2022-07-06 13:51:10 -04:00
Manuel de la Pena 4700f69e71
[CI] Fix the skip of tests. (#15404)
When the label is not present we set the value to false. We also needed
to make sure that the project is checked out when we try to write the
comment.

This should be backported to xcode14.
2022-07-06 10:04:31 -04:00
Rolf Bjarne Kvinge 352a7cb104 Merge remote-tracking branch 'origin/main' into net7.0 2022-06-30 23:54:10 +02:00
Manuel de la Pena 68fe412e89
[CI] Allow to pass the xcode channel. (#15377)
Allow to pass the xcode channel we are going to be using. This is to
ensure that we do not try to build the xcode14 branch in beta bots. At
the moment all bots are using the Beta channel, but once the lab has
been updated we should be able to move main to Stable.
2022-06-30 09:19:12 -04:00
Manuel de la Pena cf26e6e627
[CI] Provide a script to help when doing bot reports. (#15376)
We have several issues with reports. VSTS UI is not very good at this,
yet we do the scripts to take care of it. Added a script that allows to
show all the bots based on a capability.

Example
```
pwsh bots-info.ps1 -Token "$YOURTOKEN" -PoolName "VSEng-Xamarin-RedmondMacBuildPool-iOS-Untrusted" -Capability "XcodeChannel"
```

Output:
```
VSEng-Xamarin-RedmondMacBuildPool-iOS-Untrusted bots:
	Name: BOT-0189.Catalina; XcodeChannel=Stable
	Name: BOT-0202.Catalina; XcodeChannel=Stable
	Name: XAMBOT-1098.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1104.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1042.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1043.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1108.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1107.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1109.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1017.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1023.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1044.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1105.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1103.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1106.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1030.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1033.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1035.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1036.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1037.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1039.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1100.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1101.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1094.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1096.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1102.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1099.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1097.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1160.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1161.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1162.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1163.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1165.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1164.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1166.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1167.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1168.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1169.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1170.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1171.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1172.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1173.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1174.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1175.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1176.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1177.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1180.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1181.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1183.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1184.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1179.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1178.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1182.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1193.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1192.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1185.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1188.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1187.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1186.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1190.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1191.Monterey; XcodeChannel=Beta
	Name: XAMBOT-1189.Monterey; XcodeChannel=Beta
```
2022-06-29 17:00:32 -04:00
Manuel de la Pena 8bd19e5514
[CI] Allow to skip all tests in the parallel implementation. (#15334)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-06-29 15:27:03 -04:00
Manuel de la Pena a5f72dda33
[CI] Provide hardware information. (#15369)
Get the bot information to improve the debugging of build failures. The
following is an example of the output:

Software:

    System Software Overview:

      System Version: macOS 12.4 (21F79)
      Kernel Version: Darwin 21.5.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Mandels Home iMac Pro
      User Name: Manuel de la Pena Saenz (mandel)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 3 days 23:43

Hardware:

    Hardware Overview:

      Model Name: iMac Pro
      Model Identifier: iMacPro1,1
      Processor Name: 8-Core Intel Xeon W
      Processor Speed: 3,2 GHz
      Number of Processors: 1
      Total Number of Cores: 8
      L2 Cache (per Core): 1 MB
      L3 Cache: 11 MB
      Hyper-Threading Technology: Enabled
      Memory: 64 GB
      System Firmware Version: 1731.120.10.0.0 (iBridge: 19.16.15071.0.0,0)
      OS Loader Version: 540.120.3~6
      Serial Number (system): C02WD0V7HX8F
      Hardware UUID: 85EE3276-4E8F-592A-A47B-599DFAB6DF1C
      Provisioning UDID: 85EE3276-4E8F-592A-A47B-599DFAB6DF1C
      Activation Lock Status: Disabled

Developer:

    Developer Tools:

      Version: 13.3.1 (13E500a)
      Location: /Applications/Xcode_13.3.0.app
      Applications:
          Xcode: 13.3.1 (20103)
          Instruments: 13.3.1 (64552.71)
      SDKs:
          DriverKit:
              21,4:
          iOS:
              15,4: (19E239)
          iOS Simulator:
              15,4: (19E239)
          macOS:
              12,3: (21E226)
          tvOS:
              15,4: (19L439)
          tvOS Simulator:
              15,4: (19L439)
          watchOS:
              8,5: (19T241)
          watchOS Simulator:
              8,5: (19T241)
2022-06-28 20:30:03 -04:00
Manuel de la Pena 19df6512d5
[CI] Stop running pipelines on debug mode. (#15364) 2022-06-28 20:29:24 -04:00
Manuel de la Pena 600eb67bac
[CI] Just collect sim logs on debug. (#15341)
The step takes time and it will be ignored unless we need to debug the
bots/pipeline.
2022-06-28 11:10:56 -04:00
Manuel de la Pena 7fa68bc8e5
[CI] Ignore branches that start with dev/* (#15362)
Other teams in xamarin/microsoft do no use forks but use dev branhces.
The correct thing in our repo is to use forks, yet other developers
insist in not following our developement practices. The fact that this
branches are created results in 2 builds:

- One for CI
- On for the PR

It is harder to educate other developers than it is to ignore their
branches, therefore we have added the pattern dev/* to the exclude
list for branches in the CI build.
2022-06-27 14:50:31 -04:00
Manuel de la Pena 1fa2efba62
[CI] Bump the build timeout. (#15345)
There are certain bots misbehaving and taking longer. We believ ethat it
might be due to some throttiling depending on their positio in the lab.
We are increasing the timeout for those cases.
2022-06-24 14:07:24 -04:00
Manuel de la Pena af69c5787b
[CI] Fix api diff comment (#15337)
Fix writting a comment when not on a PR build.
2022-06-23 14:49:10 -04:00
Manuel de la Pena ab4dac6253
[CI] Fix tests for the pwsh. (#15338)
Fixed the following two issues:

1. Update tests to use the correct constructor.
2. Renamed $context because it is a known pester variable name and would
   get overriden.
2022-06-23 13:31:26 -04:00
Manuel de la Pena 63c69e49c1
[CI] Fix error when collecting the sim logs. (#15333)
We are getting errors with the following:

> Error creating archive at '/Users/builder/azdo/_work/2/s/diagnostic-sim-output/output.tar.gz'.
> Files are still in /Users/builder/azdo/_work/2/s/diagnostic-sim-output/output
> An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=17):
> Unable to write or file already exists
> File exists

we remove the path in case it is present and continue even if there was
an error since it does not imply a test failure.
2022-06-23 12:11:41 -04:00
Manuel de la Pena b1ea4b51aa
[CI] Allow tests to be ran in parallel. (#15322)
This allows the CI to run ALL the tests that the project has in
parallel. This is divided in two main changes:

1. Xharness - We move away from using boolenas to use a flag that states
   the tests to run.
2. yaml - We have move the code to use a template per label. This new
   jobs all run in parallel and the results are later collected by a
   funel job
3. pwsh - Added a new class that understands that we have several mark
   downs with the tests results. The classes parses them and them writes
   a single comment (and example can be found here: https://github.com/xamarin/xamarin-macios/pull/15201#issuecomment-1162366240

The changes gives the following advantages vs how we used to run tests:

1. The CI run for all tests moves from taking 13 hours to 3/4 hours
   (depending on the number of bots in the pool).
2. The download needed to verify the results on a case of failure is
   smaller. Rather than downloading several GBs we now just download
   that part of the html that we are interested in.
3. Better bot utlization. Bots are just used to a max of 2 hours, this
   means that we can use the bots better since they are fragmented.
4. Less VMs. VSDrops has added support for macOS and Linux, we take
   advanges of that here.


Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-06-23 08:54:21 -04:00
Manuel de la Pena 0afa4860b7
[CI] Print the uri that was requested for better debugging. (#15325) 2022-06-23 08:48:58 -04:00
Rolf Bjarne Kvinge 9ff8a6b3da
[devops] Collect diagnostic logs from the simulator. (#15215)
Collect diagnostic logs from the simulator to try to get better diagnostic information for https://github.com/xamarin/maccore/issues/2558.

Interestingly it seems like just collecting diagnostic information makes the problem much less likely to occur...
2022-06-22 23:18:52 +02:00
Manuel de la Pena e8f935417b
[CI] Add a comment in md to ensure that we can identify the vsts comments. (#15301)
The job that hides the previous bot comments tries to find comments with
[OR\CI build] to decide if a comment should be hidden. This is added
when a title is present, so we just add a titles so that we can hide the
comments.
2022-06-22 10:36:36 -04:00
Manuel de la Pena 19632296e6
[CI] Enable Write-Debug when the pipeline was executed in debug mode. (#15312) 2022-06-22 10:35:44 -04:00
Rolf Bjarne Kvinge 9e6e2449a1 Merge remote-tracking branch 'origin/main' into net7.0 2022-06-20 12:13:31 +02:00
Manuel de la Pena 5b353d70d6
[CI] Use isPR parameter instead of the build reason. (#15281) 2022-06-19 12:15:11 -04:00
Manuel de la Pena bcf3e6aca2
[CI] Use isPR parameter instead of the build reason on the checkout template. (#15284) 2022-06-19 12:11:58 -04:00
Manuel de la Pena ae115441f2
[CI] Use isPR parameter instead of the build reason on publishing nugets. (#15283) 2022-06-18 11:51:31 -04:00
Rolf Bjarne Kvinge 42c1c66a14
[SceneKit] Fix SCNMatrix4 in .NET. Fixes #15094. (#15160)
When we changed SCNMatrix4 to be column-major instead of row-major in .NET, there
were several other related changes we should have done but didn't do. In particular
we should have made transformation operations based on column-vectors instead of
row-vectors.

In legacy Xamarin, a vector would be transformed by a transformation matrix by doing
matrix multiplication like this:

    [ x y z w] * [ 11 21 31 41 ]
                 | 12 22 32 42 |
                 | 13 23 33 43 |
                 [ 14 24 34 41 ]

In this case the vector is a row-vector, and it's the left operand in the multiplication.
When using column-major matrices, we want to use column-vectors, where the vector
is the right operand, like this:

    [ 11 21 31 41 ] * [ x ]
    | 12 22 32 42 |   | y |
    | 13 23 33 43 |   | z |
    [ 14 24 34 41 ]   [ w ]

This affects numerous APIs in SCNMatrix4, SCNVector3 and SCNVector4:

* The M## fields have been changed to make the first number the column and the
  second number the row, to reflect that it's a column-major matrix (this is
  also how it's defined in the native SCNMatrix4 type).
* Functions that return a transformation matrix have been modified to return column-vector
  transformers. Technically this means that these matrices are transposed compared
  to legacy Xamarin. The functions involved are:
    * CreateFromAxisAngle
    * CreateRotation[X|Y|Z]
    * CreateTranslation
    * CreatePerspectiveFieldOfView
    * CreatePerspectiveOffCenter
    * Rotate
    * LookAt
* Combining two column-vector transforming transformation matrices is done by multiplying
  them in the reverse order, so the Mult function (and the multiplication operator)
  have been modified to multiply the given matrices in the opposite order (this matches
  how the SCNMatrix4Mult function does it). To make things clearer I've changed the
  parameter names for XAMCORE_5_0.
* Functions that transform a vector using a transformation matrix have been modified
  to do a column-vector transformation instead of a row-vector transformation. This
  involves the following functions:
    * SCNVector3.TransformVector
    * SCNVector3.TransformNormal
    * SCNVector3.TransformNormalInverse
    * SCNVector3.TransformPosition
    * SCNVector4.Transform
* Numerous new tests.

Fixes https://github.com/xamarin/xamarin-macios/issues/15094.
2022-06-17 20:17:05 +02:00
Manuel de la Pena 771478a7ac
[CI] Add missing paramenter. (#15293) 2022-06-16 11:39:38 -04:00
Manuel de la Pena 59582575e3
[CI] Use isPR parameter instead of the build reason on the loc translations. (#15282) 2022-06-16 11:13:18 -04:00
Rolf Bjarne Kvinge 2b84ce2ccb Merge remote-tracking branch 'origin/main' into net7.0 2022-06-15 13:34:23 +02:00
Manuel de la Pena f2d0a16562
[CI] Do not provision simulators on builds. (#15268)
There is no need to provision the simulators on a build. Provisioning
simuatlors is giving problems with the EO pool after an upgrade to macOS
12.4.

We remove the provisioning from the build BUT not from the tests since
those tests are executed in non EO complient machines.
2022-06-14 14:12:32 -04:00
Manuel de la Pena 28d286f91f
[CI] Remove the need of a variable to state if we are building a PR. (#15205)
Deciding if we build a PR or not used to be more complicated since we
had to make the diff between a CI build and a PR build. Now, since we
added diff pipelines we do not longer need to check any variable since
we can use a parameter.

This new fact makes the decision making simpler (although forces use to
add a new parameter in a few templates). The overall result is a simple
way to decide what can be used or not in the pipeline.

* Simplify logic.

* Add missing param.

* Fix the checkout for signing in the pr build.

* There is not need to sign in PR builds.

The signature is not needed for the tests and using -s in codesign means
that it is only valid in the machine that signed it.
2022-06-13 13:40:22 -04:00
Manuel de la Pena d66af89399
[CI] Conditions have no meanign in templates. (#15259) 2022-06-13 11:38:42 -04:00
Manuel de la Pena 5c2bcf9b8b
[CI] Ensure we do upload the agent logs in case of failure. (#15248) 2022-06-13 11:27:28 -04:00
Rolf Bjarne Kvinge be0f63615e Merge remote-tracking branch 'origin/main' into net7.0 2022-06-13 10:12:57 +02:00
Manuel de la Pena 6cdececce4
[CI] The cron jobs do not need to use ESRP signing. (#15245) 2022-06-10 16:37:43 -04:00
Rolf Bjarne Kvinge de08350eba
[devops] Fix computation of the vsdrops uri prefix. (#15241) 2022-06-10 14:08:07 -04:00
Manuel de la Pena b504dcb140
[CI] Add another pipeline just for cronjobs so that we can easily identify those builds. (#15239) 2022-06-09 17:28:22 -04:00
Rolf Bjarne Kvinge 414c5bf99e
Improve the API diff (#15020) 2022-06-09 15:47:00 +02:00
Rolf Bjarne Kvinge 805135870d [devops] Update display names to be more accurate. 2022-06-09 14:11:16 +02:00
Rolf Bjarne Kvinge efba4cd38f Merge remote-tracking branch 'origin/main' into net7.0 2022-06-09 14:08:52 +02:00
Manuel de la Pena 454e16a59a
[CI] Remove the usage of python2 and move to python 3. (#15226) 2022-06-09 08:38:41 +02:00
Rolf Bjarne Kvinge db91c70f41 Merge remote-tracking branch 'origin/main' into net7.0 2022-06-07 11:10:24 +02:00
Rolf Bjarne Kvinge a1d0b6eba9
Make our local .NET the default .NET for the build. (#15086)
Make our local .NET the default .NET (in the root's global.json), and then if
a directory wants to use the system .NET, then that directory would have to
opt-in (using its own global.json).

This way we don't have to copy global.json/NuGet.config files around to run
tests with the correct .NET setup.
2022-06-07 10:11:02 +02:00
VS MobileTools Engineering Service 2 3f461d9789
[net7.0] [CI] Allow to build PRs agains net* branches. (#15195)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-06-02 17:11:45 -04:00
Manuel de la Pena 980eacba04
[CI] Allow to build PRs agains all branches. (#15194) 2022-06-02 17:06:19 -04:00
Rolf Bjarne Kvinge 8f18e295f7 Merge remote-tracking branch 'origin/main' into net7.0 2022-06-02 21:17:39 +02:00
Manuel de la Pena 3337321d25
[CI] Using templates does not allow to run the pipeline without access to ESRP. (#15175) 2022-06-01 19:23:36 -04:00
Manuel de la Pena 6a60c251b4
[CI] Disable the CI trigger explicitly. (#15172) 2022-06-01 11:56:14 -04:00
Manuel de la Pena d68141113b
[CI] Fix if statements that's flipped. (#15165) 2022-06-01 11:25:59 -04:00
Manuel de la Pena 86fe13e17f
[CI] Split the pipeline in two, one for CI and a second one for PRs. (#15110) 2022-05-31 09:24:51 -04:00
Rolf Bjarne Kvinge 05006049fc Merge remote-tracking branch 'origin/main' into net7.0 2022-05-30 11:57:26 +02:00
Mauro Agnoletti 342fb340c8
Fix bundle.zip structure in 'Sign bundle.zip' step (#15135)
The files of the bundle.zip are being re-zipped inside a 'bundle' folder after signing, which is wrong since everything else is expecting the files directly inside the zip file without parent folders (as we were doing before)
2022-05-27 13:31:53 +02:00
Rolf Bjarne Kvinge f27861eb6a Merge remote-tracking branch 'origin/main' into net7.0 2022-05-27 10:09:39 +02:00
Rolf Bjarne Kvinge 91b4d15a31
[devops] Fix the post-build pipeline after dependent pipeline rename. (#15129) 2022-05-27 10:03:34 +02:00
Rolf Bjarne Kvinge db36bd83c1 Merge remote-tracking branch 'origin/main' into net7.0 2022-05-25 09:34:42 +02:00
Rolf Bjarne Kvinge e3a03d2804
Remove the Visual Studio dependency. (#15102)
Remove our dependency on Visual Studio. Use the 'dotnet-t4' tool instead of
invoking the t4 tool embedded in Visual Studio.

Fixes this build error after installing VS Mac 2022:

> Cannot open assembly '/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/TextTransform.exe': No such file or directory.
2022-05-25 08:26:51 +02:00
Rolf Bjarne Kvinge 0c08e725f3
[devops] Publish builds from the net7.0 branch. (#15091) 2022-05-23 16:18:19 +02:00
Rolf Bjarne Kvinge 44493da115 [devops] One more branch check 2022-05-20 10:40:02 +02:00
Rolf Bjarne Kvinge b7d7b541ee [devops] Publish builds from the net7.0 branch. 2022-05-19 23:27:34 +02:00
Rolf Bjarne Kvinge d902d42291 [devops] Publish to the .NET 7 feed. 2022-05-19 23:20:37 +02:00
Rolf Bjarne Kvinge f5dfe434bd Merge remote-tracking branch 'origin/main' into net7.0 2022-05-19 23:20:20 +02:00
TJ Lambert 1477c9bd51
[Localization] Use force-with-lease (#15054)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-05-18 15:18:34 -05:00
Rolf Bjarne Kvinge 3bbaaf42cf
[devops] Compute DOTNET_TFM instead of hardcoding 'net6.0.' (#15005) 2022-05-18 13:33:08 +02:00
Rolf Bjarne Kvinge e7d367758a
[devops] Fix tests according to recent changes. (#15045) 2022-05-17 14:23:03 +02:00
Rolf Bjarne Kvinge 45b5379d43
[devops] Reword api diff GitHub text a bit and add index entry. (#15019) 2022-05-16 21:37:21 +02:00
Manuel de la Pena 0ec49ff31a
[CI] Reset the submodules for the API diff. (#14997)
When we do the checkout of head, we must make sure that the submodules are the correct ones.
2022-05-13 13:07:45 -04:00
Rolf Bjarne Kvinge d819b06550
[devops] Authenticate requests to GitHub. (#15009)
This way we don't run into rate limits as easily.
2022-05-13 09:10:01 +02:00
Rolf Bjarne Kvinge e661dfc58c
[devops] Remove the logic for SkipPublicJenkins, it's never set anymore. (#15012) 2022-05-13 09:09:34 +02:00
Rolf Bjarne Kvinge d6454fee81
[devops] Don't ignore api-diff failures, but show then as non-fatal warnings instead. (#15013) 2022-05-13 08:47:21 +02:00
Manuel de la Pena d89dfec8fb
[CI] Sign the contents of the bundle.zip to be used in xma. (#14970) 2022-05-12 13:24:01 -04:00
Rolf Bjarne Kvinge 06041ab37f
[xharness/devops] Enable .NET tests by default. (#14998)
Which alo means there's no need to select them if .NET is enabled.
2022-05-12 14:58:24 +02:00
Rolf Bjarne Kvinge 774b3d7380
[devops] A PR API diff with changes isn't an error. (#14992)
It's only an error if it has breaking changes (which is handled elsewhere).
2022-05-12 08:19:35 +02:00
Manuel de la Pena 80f4844bc4
[CI] Ensure we do not leave processes once we are done. (#14988) 2022-05-11 15:46:47 -04:00
Manuel de la Pena 01459aece0
[CI] Bump timeout. (#14982)
Until we parallize the tests we need to bump the timeout since we are
getting timeout issues in some bots, for example: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6134329&view=logs&j=673140f8-3abe-5ac0-6769-091785cf5576&t=27d47212-35cf-595c-16ff-96a3671a2d41
2022-05-11 12:13:56 -04:00
Rolf Bjarne Kvinge c4f3d65b68
[devops] Compute better base for comparing API diff. (#14963)
Previously we'd compare the tip of the PR branch with the commit before merge commit into the target branch created by GitHub.

This doesn't work in the following scenario:

    main  gh  pr
    
       |  G1 |          (merge commit created by GitHub)
       | / \ |
       |/   \|
       M2    |
       |     P2
       |    /|
       |   / |
       |  /  |
       | /   |
       |/    |
       M1    |
       |     |
       |     P1
       |    /
       |   /
       |  /
       | /
       |/

We'd end up comparing P2 with M2, which is not what we want, because M2 could
have API changes that would show up as missing in P2.

It's actually even worse than that, because we could be in the following
scenario:

    main  gh  pr
    
       |  G2 |          (merge commit created by GitHub when api diff started)
       | / \ |
       |/   \|
       M3    |
       |     P3
       |     |
       |  G1 |          (merge commit created by GitHub when build started)
       | / \ |
       |/   \|
       M2    |
       |     P2
       |    /|
       |   / |
       |  /  |
       | /   |
       |/    |
       M1    |
       |     |
       |     P1
       |    /
       |   /
       |  /
       | /
       |/

And we still want to P2 with M2, but we'd compare P2 with M3.

We want to compare P2 with M1 instead. This is done by asking git for the
merge-base between P2 and M2.
2022-05-11 16:40:40 +02:00
Manuel de la Pena fb77743c21
[CI] Perform the classic sign-notarize of each pkg in parallel. (#14932)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-05-10 07:21:40 -04:00