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

982 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 1a05b370ef
Merge net8.0 into main. (#19156) 2023-10-11 23:30:14 +02:00
Manuel de la Pena 1487bfe645
[CI] Ensure we use python 3 before we install the ESRP plugin. (#19147) 2023-10-11 16:44:39 +02:00
Rolf Bjarne Kvinge 7f8d3ac6eb
[net8.0-xcode15] [devops] Use the stable Xcode channel. (#19144) 2023-10-10 23:25:56 +02:00
Rolf Bjarne Kvinge 62b742db3c [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-09-21 16:39:06 +02:00
Rolf Bjarne Kvinge 7e3eeb1dab [net8.0] Merge main into net8.0. 2023-09-20 19:20:32 +02:00
Rolf Bjarne Kvinge 2b439fc0b7
[tests] Remove the 32-bit/64-bit difference for iOS tests. (#19053)
This fixes an issue where we wouldn't enable the mtouch tests, because we
check if iOS is enabled to enable them, and it turns out iOS isn't enabled by
default, only 64-bit iOS.

This is rather unintuitive, so just remove the 32-bit/64-bit distinction in
xharness and Azure Pipeline, since our support for 32-bit iOS is very rapidly
going away (with Xcode 15 support) anyway.
2023-09-20 19:07:37 +02:00
Rolf Bjarne Kvinge 79ff82d046 [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-09-18 18:28:24 +02:00
Rolf Bjarne Kvinge be6c348cfd [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-09-14 07:25:58 +02:00
Rolf Bjarne Kvinge f88dc4406d [net8.0] Merge main into net8.0. 2023-09-14 07:23:52 +02:00
Rolf Bjarne Kvinge c85d06ffac
[devops] Skip installing workloads, not .NET itself, if .NET isn't enabled. (#19000)
Some of our tests (such as the MSBuild tests), are built with .NET, and thus
need some version of .NET installed to be buildable.

Note that in this case we don't need any workloads, so we still skip that part.
2023-09-13 11:25:34 +02:00
Rolf Bjarne Kvinge c901665f34
[net8.0] [devops] Fix boolean logic + update .NET files to sign (#18988)
* Fix boolean logic to determine whether .NET is enabled or not
* Update mlaunch to get a fix where we trim the project.
* Update the list of files that need to be signed from mlaunch.
2023-09-11 18:56:47 +02:00
Rolf Bjarne Kvinge 673dd5782b [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-09-08 10:31:44 +02:00
Rolf Bjarne Kvinge da06a62373 Merge remote-tracking branch 'origin/main' into bump-main-in-net8.0-2023-09-01 2023-09-01 16:28:21 +02:00
Rolf Bjarne Kvinge 0bf7494326
[devops] Set the BRANCH_NAME variable before configuring the build. (#18897)
This way we compute the correct version numbers in
configure-platforms.sh.

Also tell the configure job that we're a PR, so that we undo the merge
and don't use the wrong hash for the version calculations.
2023-09-01 16:27:29 +02:00
Rolf Bjarne Kvinge bf8f54c2f2 [net8.0] Merge main into net8.0. 2023-09-01 15:00:32 +02:00
TJ Lambert cd69385d41
[Localization] Create a new branch for the automated PRs (#18881)
In my Localization inspection, I wanted to figure out why the automated
PRs I was creating in Pipelines were auto-closing themselves a few hours
after creating them -
[example](https://github.com/xamarin/xamarin-macios/pull/18713).

There are a few different steps in the localization process and long
story short is that I am creating these PRs from the Localization
branch. Each commit into main runs a tool that alerts the Loc team and
it syncs up our Localization branch to our main branch which temporarily
deletes our Localization branch thus closing the automated PR!

This PR creates a new unique branch for each Localization PR so that we
can keep updating the Loc team, but also make sure syncing the
Localization branch will not delete this PR.

Testing this created this PR below:
https://github.com/xamarin/xamarin-macios/pull/18880
2023-08-31 19:48:37 -05:00
Rolf Bjarne Kvinge ef408d24a9 [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-08-29 11:53:41 +02:00
Rolf Bjarne Kvinge 78b649c4e1 [net8.0] Merge main into net8.0. 2023-08-29 11:24:40 +02:00
Rolf Bjarne Kvinge 45225dc88d
[dotnet] Parameterize the pack names. (#18732)
We're going to change the pack names to support multi-targeting, so ahead
of the pack name change I'm changing the existing logic to use a variable
for the pack name in most places (this will make the rename much easier and
simpler).

These changes should have no effect by themselves.
2023-08-29 10:06:46 +02:00
Rolf Bjarne Kvinge db4d900f34
[devops] Don't try to sign .NET files if .NET is not enabled. (#18826) 2023-08-29 07:30:06 +02:00
Rolf Bjarne Kvinge 645ce96798 [net8.0] Merge main into net8.0. 2023-08-28 18:16:00 +02:00
Rolf Bjarne Kvinge 19b4beb9c3
[devops] Don't try to install workloads if .NET isn't enabled. (#18824) 2023-08-28 17:40:34 +02:00
Rolf Bjarne Kvinge 6603e027ac
[devops] Don’t build any NuGets if .NET isn’t enabled. (#18823) 2023-08-28 12:09:13 +02:00
Rolf Bjarne Kvinge 65b6cca020
[devops] Only run the .NET tests on Windows if .NET is actually enabled. (#18825) 2023-08-28 12:07:19 +02:00
Rolf Bjarne Kvinge 7d5e1a4e7e [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-08-23 17:35:17 +02:00
Rolf Bjarne Kvinge d7f8b8daf5 [devops] Tell 'dotnet test' to use the correct 'dotnet' executable. 2023-08-23 07:45:48 +02:00
Rolf Bjarne Kvinge 640ff3fa71 [net8.0] Merge main into net8.0. 2023-08-22 15:22:11 +02:00
Rolf Bjarne Kvinge a03fbb70f9
Run the generator tests on Windows. (#18513)
We'll soon change the generator to execute locally on Windows, even for
remote builds. As a stepping stone towards that goal, this PR adds the
generator tests to the list of tests we run on Windows.
2023-08-18 16:04:59 +02:00
Rolf Bjarne Kvinge 8bb54d360f [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-08-16 11:21:06 +02:00
Rolf Bjarne Kvinge c8ae3dc072 [net8.0] Merge main into net8.0. 2023-08-16 11:19:56 +02:00
Rolf Bjarne Kvinge 4d1156bbf9
[devops] 'simctl diagnose' tend to return an error code, so make sure it doesn't bubble up to the CI. (#18723)
This seems to happen fairly often:

    + xcrun simctl diagnose -b -X --output=/Users/builder/azdo/_work/1/s/diagnostic-sim-output/output
    Error creating archive at '/Users/builder/azdo/_work/1/s/diagnostic-sim-output/output.tar.gz'.
    Files are still in /Users/builder/azdo/_work/1/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

The output directory is empty (created in the line before), so I have no
idea what's going on.

An archive with the diagnostic info still seems to be created though, so
just ignore any failures from 'simctl diagnose' instead of bubbling them up
to Azure DevOps. This makes our test runs not show up with warnings.
2023-08-16 10:33:34 +02:00
Rolf Bjarne Kvinge ac90c511d1 [net8.0] Merge main into net8.0. 2023-08-14 15:36:54 +02:00
Alex Soto ed6affbb50
[xcode15] Bump Xcode 15 to Beta 6 (#18668) 2023-08-12 07:10:00 -04:00
Rolf Bjarne Kvinge 18a8b25a0f
[devops] Fix setting the INCLUDE_LEGACY* variables when legacy isn't enabled. (#18689)
This fixes an issue where we'd try to sign the legacy Xamarin packages
even if the legacy build was disabled.
2023-08-11 11:19:36 +02:00
Rolf Bjarne Kvinge 004a0aef79 Merge remote-tracking branch 'origin/net8.0' into bump-net8.0-in-net8.0-xcode15-2023-08-08 2023-08-10 16:36:57 +02:00
Rolf Bjarne Kvinge 5ec6aa23b5 [net8.0] Merge main into net8.0. 2023-08-09 14:15:42 +02:00
Rolf Bjarne Kvinge 0590d65456
[devops] Remove option to disable .NET from CI. (#18650)
It's rather rare now that we need to disable .NET from the CI, so just
remove the option. It can still be disabled directly in the code when
needed.

Also this fixes an issue where we'd build with .NET enabled even if
disabled in the code, because we'd always pass --enable-dotnet to
configure.
2023-08-08 17:34:19 +02:00
Manuel de la Pena c3bb685665 Yaml 2023-08-07 16:28:42 -04:00
Manuel de la Pena 8c4ce010ca [CI] Use xcode to install the simulators in EO machines. 2023-08-07 16:12:36 -04:00
Manuel de la Pena 59674cbb34 [Windows] Move the correct Build.props to the sources dir. 2023-08-05 16:03:00 -04:00
Manuel de la Pena 435a702552 Dbug build.props file presence. 2023-08-04 16:20:54 -04:00
Manuel de la Pena 557f048d12 [CI] Copy Build.props to the windows machines. 2023-08-04 14:05:39 -04:00
Manuel de la Pena 363e145606 [Windows] Install make on windows and generate the Build.props. 2023-08-04 11:49:45 -04:00
Manuel de la Pena e162e56b67 [CI] Erase sims before we start tests. 2023-08-04 11:47:30 -04:00
Rolf Bjarne Kvinge f27b1906fc [devops] Provision simulators before the build. 2023-08-04 11:47:27 -04:00
Rolf Bjarne Kvinge 3e39cf4f26 [devops] Use the beta Xcode channel. 2023-08-04 11:47:27 -04:00
Peter Collins 72811eb753
[ci] Run Codesign Verification after MSI creation (#18603)
The `MicroBuildCodesignVerify@3` task has been added to validate the
signing status of the MSI files required for VS insertions. This will
allow us to identify any potential signing issues earlier.
2023-08-01 23:53:20 -04:00
dotnet-maestro[bot] 65ea7de123
[net8.0] Update dependencies from dotnet/installer (#18548)
This pull request updates the following dependencies

[marker]: <> (Begin:Coherency Updates)
## Coherency Updates

The following updates ensure that dependencies with a
*CoherentParentDependency*
attribute were produced in a build used as input to the parent
dependency's build.
See [Dependency Description
Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

[DependencyUpdate]: <> (Begin)

- **Coherency Updates**:
- **Microsoft.NET.ILLink.Tasks**: from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9 (parent: Microsoft.Dotnet.Sdk.Internal)
- **Microsoft.AspNetCore.App.Ref**: from 8.0.0-preview.7.23359.2 to
8.0.0-rc.1.23374.14 (parent: Microsoft.Dotnet.Sdk.Internal)
- **Microsoft.NETCore.App.Ref**: from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9 (parent: Microsoft.Dotnet.Sdk.Internal)
-
**Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport**:
from 8.0.0-preview.7.23326.1 to 8.0.0-rc.1.23368.3 (parent:
Microsoft.NETCore.App.Ref)
- **Microsoft.NETCore.App.Ref**: from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9 (parent: Microsoft.Dotnet.Sdk.Internal)
- **Microsoft.DotNet.Cecil**: from 0.11.4-alpha.23327.1 to
0.11.4-alpha.23360.2 (parent: Microsoft.NETCore.App.Ref)

[DependencyUpdate]: <> (End)

[marker]: <> (End:Coherency Updates)














[marker]: <> (Begin:f9b68d84-9c90-4bd0-5499-08db4112d57e)
## From https://github.com/dotnet/installer
- **Subscription**: f9b68d84-9c90-4bd0-5499-08db4112d57e
- **Build**: 20230725.3
- **Date Produced**: July 25, 2023 10:39:06 AM UTC
- **Commit**: e1872958afdb2b42b48f213efc8a6cd509816f0c
- **Branch**: refs/heads/main

[DependencyUpdate]: <> (Begin)

- **Updates**:
- **Microsoft.Dotnet.Sdk.Internal**: [from 8.0.100-preview.7.23360.1 to
8.0.100-rc.1.23375.3][60]
- **Microsoft.NET.ILLink.Tasks**: [from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9][61]
- **Microsoft.AspNetCore.App.Ref**: [from 8.0.0-preview.7.23359.2 to
8.0.0-rc.1.23374.14][62]
- **Microsoft.NETCore.App.Ref**: [from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9][61]
-
**Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport**:
[from 8.0.0-preview.7.23326.1 to 8.0.0-rc.1.23368.3][63]
- **Microsoft.NETCore.App.Ref**: [from 8.0.0-preview.7.23359.1 to
8.0.0-rc.1.23374.9][61]
- **Microsoft.DotNet.Cecil**: [from 0.11.4-alpha.23327.1 to
0.11.4-alpha.23360.2][64]

[60]:
62ef57f114...e1872958af
[61]: 31106939ba...119667b5ef
[62]:
be566b1f4e...1bda10b33b
[63]: 60a73f97a0...1f68fcee45
[64]: 3e46711f5a...1a6a83a8f5

[DependencyUpdate]: <> (End)


[marker]: <> (End:f9b68d84-9c90-4bd0-5499-08db4112d57e)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Alex Soto <alex@soto.dev>
Co-authored-by: Filip Navara <navara@emclient.com>
2023-07-26 05:01:39 -04:00
Alex Soto 928048d681 Merge remote-tracking branch 'xamarin/main' into net8.0-merge-main 2023-07-22 21:44:02 -04:00
Manuel de la Pena a8d3bda60c
Merge branch 'net8.0' into merge-main-net8 2023-07-11 10:27:22 -04:00