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

812 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 7b1e40432d
Bump API references to latest stable. (#18678) 2023-08-10 19:02:07 +02:00
Alex Soto cc35efe4bc
[Xcode] Bump Xcode to version 14.3.1 (#18290)
Bump to stable Xcode 14.3.1
2023-06-02 10:39:14 -04:00
Rolf Bjarne Kvinge dce0d8efa4
[maestro] Make 'Microsoft.NETCore.App.Ref' depend on 'Microsoft.Dotnet.Sdk.Internal'. (#18026)
This way we always get a consistent build (at the cost of flexibility:
sometimes we won't be getting 'Microsoft.NETCore.App.Ref' updates for a while
if either dotnet/runtime or dotnet/sdk have security fixes in the works, but
this shouldn't be much of an issue for a stable .NET version, since we usually
work with any dotnet/runtime version at that point).

Also fix a duplicated entry for 'Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100',
and run 'darc update-dependencies' to update the dependencies.
2023-04-12 08:07:30 +02:00
Alex Soto 1fd05057ed
[main] Bump to stable Xcode 14.3 (#17953)
Bump to stable version of Xcode 14.3
2023-03-31 07:11:02 -04:00
Alex Soto 88dff7bc5f [xcode14.3] Update to Xcode 14.3 Release Candidate 2 2023-03-29 14:37:51 -04:00
Alex Soto f793719e58 [xcode14.3] Update bidnings to Xcode 14.3 RC and fix tests 2023-03-29 14:37:51 -04:00
Rolf Bjarne Kvinge 37fef7a49d Xcode 14.3 requires macOS 13.0+. 2023-03-29 14:37:51 -04:00
Alex Soto 46eaabc17d [xcode14.3] Update bindings to Xcode 14.3 2023-03-29 14:37:51 -04:00
dotnet-maestro[bot] 8852f61dfe
[main] Update dependencies from dotnet/installer (to 7.0.2xx) (#17803)
This pull request updates the following dependencies

## 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)

- **Coherency Updates**:
  - **Microsoft.AspNetCore.App.Ref**: from 7.0.3 to 7.0.4 (parent: Microsoft.Dotnet.Sdk.Internal)

## From https://github.com/dotnet/installer
- **Subscription**: fffd7604-ce46-455f-0f2f-08db24524baf
- **Build**: 20230320.23
- **Date Produced**: March 21, 2023 6:36:46 AM UTC
- **Commit**: 332c2bc24954c8305a1985bd8e52088cc6b6a677
- **Branch**: refs/heads/release/7.0.2xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.105-servicing.23165.29 to 7.0.203-servicing.23170.23][8]

[8]: f7fbfe4...332c2bc
2023-03-22 07:41:11 +01:00
Rolf Bjarne Kvinge 68cb21838b
Encode the .NET version we're targeting in the third NuGet version number. (#17818)
Encode the .NET version we're targeting in the third NuGet version number by
adding X000 (where X is the .NET version) to the commit distance.

This accomplishes a few goals:

* We automatically compute a different NuGet version depending on the .NET version we're targeting.
* Versions are sorted correctly (.NET 7 nugets have a higher version number than .NET 6 nugets).
* It's possible to see which .NET version a NuGet is targeting from the version.

The downside is:

* The scheme breaks down if we need more than three digits for the commit
  distance (possible solution: add another zero, so we add X0000 instead of
  X000).
2023-03-17 07:39:59 +01:00
Rolf Bjarne Kvinge e170ba56d8
[dotnet] Rework how we handle manifest version bands. (#17670)
* Use a separate variable for Mono's and Emscripten's manifest version band,
  so that they can diverge (this is a decision from the corresponding teams,
  we don't control it).
* Have a separate variable for our own manifest version band, so that it's
  easier to hard code it if we want to.
* Rename a few variables to make them clearer.
* Remove hardcoded rc.2 logic, we're not using any rc.2 versions right now, so
  that's dead code.
* A few other minor changes.
2023-03-03 13:17:55 +01:00
Manuel de la Pena 0fb19bc868
[Sim] Bump min simulator versions for ventura. (#17645) 2023-03-01 08:13:19 -05:00
Rolf Bjarne Kvinge 7e6d0fdc23
[dotnet] Fix computing manifest version band. (#17536)
We need to use 'DOTNET_MANIFEST_VERSION_BAND' instead of
'DOTNET_VERSION_BAND', because the former always ends with '00' (which
manifest version bands are supposed), while the latter can have other numbers
(for instance 7.0.100 vs 7.0.101 - the former is a valid manifest version
band, the latter isn't).
2023-02-15 19:06:29 +01:00
Rolf Bjarne Kvinge 8fbf227abb
[src] Unify build code for .NET platforms. (#17445)
Use a make template for the build logic for our platform assemblies, so that we don't
unintentionally have slightly different build code for different platforms (especially
when making changes to the build this way ensures that we make the same change on all
platforms).

This also makes the code significantly shorter, and will make it easier to add more
platforms in the future if we ever need that.
2023-02-08 07:56:49 +01:00
Alex Soto a7502b2b8d
[main] Bump bindings to Xcode 14.2 (#17037) 2022-12-21 08:39:03 +01:00
Rolf Bjarne Kvinge 8c6155d617
Bump API references to the Xcode 14.1 release. (#16710) 2022-12-14 09:52:40 +01:00
Rolf Bjarne Kvinge dc37be300e
Remove bitcode-related code, since bitcode is dead. (#16986) 2022-12-12 15:25:37 +01:00
Rolf Bjarne Kvinge 0a53f3cd60
Add automatic support for not building iOS 32-bit stuff when min iOS version is >= 11.0 (#16746)
There are no changes for 32-bit watchOS, because watchOS support is likely to
go away completely anyways.
2022-11-18 07:59:46 +01:00
Rolf Bjarne Kvinge 669232f322
Move commit distance computation into a separate bash script. (#16712)
The script does the same thing, except:

* It doesn't use 'bc', but instead bash's intrinsic math support: '$((1+2))' -
  because when we execute in bash on Windows, 'bc' might not be available.
* It's easier to debug.

This fixes a problem when we need to compute these values on Windows in CI.
2022-11-11 13:46:40 +01:00
dotnet-maestro[bot] df2fcad671
[main] Update dependencies from dotnet/installer (#16585)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: 50c9492e-4671-4d1d-7920-08dabd1031a2
- **Build**: 20221109.16
- **Date Produced**: November 9, 2022 8:04:06 PM UTC
- **Commit**: c4679427ae635df187e4d250bae4c7bcb58fd611
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
- **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22531.3 to
7.0.101-servicing.22559.16][8]

[8]: 3079e52...c467942

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: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-11 08:51:19 +01:00
Rolf Bjarne Kvinge b8362b1079
[runtime] Validate that the static registrar code being registered was built using the same runtime. (#16652)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-11-10 10:45:20 +01:00
Rolf Bjarne Kvinge eff4aa007f
Unset the prerelease identifier. (#16606)
There's no release coming from main, so unset the prerelease identifier.
2022-11-07 17:58:11 +01:00
Rolf Bjarne Kvinge 581d6b4218 Merge remote-tracking branch 'origin/main' into main-net7.0-xcode14.1 2022-11-03 09:34:32 +01:00
Rolf Bjarne Kvinge 1171587edc
[apidiff] Change to use dl.internalx.com with a GitHub PAT for API reference downloads. (#16548)
Update the download of API references to:

* Use `dl.internalx.com` links instead of `bosstoragemirror.blob.core.windows.net`
  links (the relative path stays the same).
* Require a GitHub PAT in order to download from dl.internalx.com. This PAT
  can either be provided through a file (recommended for local use) or through
  the environment.
* Document these changes.
2022-11-03 09:07:22 +01:00
Rolf Bjarne Kvinge 0c531e438b Enable legacy Xamarin for now. 2022-11-03 08:25:49 +01:00
Rolf Bjarne Kvinge 17e77bc2d0 Reset commit distance. 2022-11-03 08:25:02 +01:00
Rolf Bjarne Kvinge cdc62aeae9 Merge remote-tracking branch 'origin/net7.0-xcode14.1' into main-net7.0-xcode14.1 2022-11-03 08:21:55 +01:00
Rolf Bjarne Kvinge 940e1d09e9 Merge xcode14.1 into net7.0-xcode14.1. 2022-11-02 19:03:30 +01:00
Alex Soto 060055af65
[xcode14.1] Bump to stable release of Xcode 14.1 (#16534) 2022-11-02 08:54:33 -04:00
Rolf Bjarne Kvinge 9f1dc519ea
[dotnet] Adjust stable MSI versioning. (#16501)
Stable MSIs are versioned like non-stable MSIs, except that:

* We define the commit distance as the number of commits since the branch
  bacame a release branch (and started using stable branding). Technically
  this is the number of commits since the `NUGET_RELEASE_BRANCH` variable
  changed (which will be incorrect for non-stable branches, but in that case
  we shouldn't use this number in those scenarios).
* We use the above-mentioned commit distance as the third number in the MSI
  version (as opposed to the fourth number in non-stable branches.)

Note: we detect if we're building a stable release by checking if the
`NUGET_PRERELEASE_IDENTIFIER` is empty (we can't use `NUGET_RELEASE_BRANCH`,
because this variable will be set for PRs to the release branch, while
`NUGET_PRERELEASE_IDENTIFIER` will only be empty for CI builds from a stable
branch).
2022-10-31 15:30:58 +01:00
Rolf Bjarne Kvinge 81325b3b37
Merge xcode14.1 into net7.0-xcode14.1. (#16432) 2022-10-28 13:50:47 +02:00
Rolf Bjarne Kvinge c708c71c3b Merge remote-tracking branch 'origin/xcode14.1' into bump-xcode14.1-in-net7.0-xcode14.1-2022-10-24 2022-10-28 09:50:14 +02:00
dotnet-maestro[bot] 12f8af16c6
[net7.0-xcode14.1] Update dependencies from dotnet/installer (#16455)
This pull request updates the following dependencies

## 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)

- **Coherency Updates**:
  - **Microsoft.AspNetCore.App.Ref**: from 7.0.0-rtm.22479.3 to 7.0.0-rtm.22512.1 (parent: Microsoft.Dotnet.Sdk.Internal)

## From https://github.com/dotnet/installer
- **Subscription**: df408977-ead8-4cfb-e40b-08dab20af502
- **Build**: 20221019.39
- **Date Produced**: October 20, 2022 12:51:36 AM UTC
- **Commit**: e6dd91c290b808f971a1ac69c2fb29395bbf1051
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22479.5 to 7.0.100-rtm.22519.39][3]
  - **Microsoft.AspNetCore.App.Ref**: [from 7.0.0-rtm.22479.3 to 7.0.0-rtm.22512.1][4]

[3]: eb23d8c...e6dd91c
[4]: 02d62cf...c686535

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: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-27 12:08:56 +02:00
Alex Soto 04ebd2f6c6
[xcode14.1] Bump Xcode to RC 2 (#16438)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-25 15:26:34 +02:00
Rolf Bjarne Kvinge 51a7f07f20
[net7.0-xcode14.1] Make the buffer bigger between .NET 6 and .NET 7 nugets for Xcode 14.1 (#16430)
Current versions in this branch:

    Microsoft.iOS 16.1.1419-net7.0-xcode14.1+sha.51ad25e7b64
    Microsoft.tvOS 16.1.1419-net7.0-xcode14.1+sha.51ad25e7b64
    Microsoft.MacCatalyst 16.1.1419-net7.0-xcode14.1+sha.51ad25e7b64
    Microsoft.macOS 13.0.1974-net7.0-xcode14.1+sha.51ad25e7b64

Compare with the `release/6.0.4xx-xcode14.1` branch version numbers (from #16431):

	Microsoft.iOS 16.1.179+sha.2107639a131
	Microsoft.tvOS 16.1.179+sha.2107639a131
	Microsoft.MacCatalyst 16.1.179+sha.2107639a131
	Microsoft.macOS 13.0.734+sha.2107639a131

the buffer is >1000 commits.
2022-10-25 08:29:15 +02:00
Rolf Bjarne Kvinge fe490fe44b
Don't automatically detect mono archive availability. (#16402)
* It's wrong once in a while because of network hiccups.
* Building mono from source takes a long time.
* Building mono from source doesn't even seem to work anymore.

So just remove the automatic detection. If someone ever wants to build mono
from source again, then it can be enabled using 'configure'.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-10-25 07:32:48 +02:00
Rolf Bjarne Kvinge ae07f49b4e Fix the prerelease versioning for this branch. 2022-10-21 09:01:58 +02:00
Rolf Bjarne Kvinge 24f1fc18ed Merge remote-tracking branch 'origin/xcode14.1' into net7.0-xcode14.1 2022-10-20 19:30:22 +02:00
Rolf Bjarne Kvinge ab51d827f5
[builds] Improve curl commands to retry harder in case of failures. (#16394)
* Use a variable for the curl command to avoid duplicating all the retry logic.
* Pass --retry-all-failures to curl to retry harder.

Hopefully fixes these errors:

    curl: (56) LibreSSL SSL_read: error:02FFF036:system library:func(4095):Connection reset by peer, errno 54
    make: *** [downloads/ios-release-Darwin-2a19f878dab8d2e62123e0bf29453de553f5402a.7z] Error 56
2022-10-20 14:37:59 +02:00
Alex Soto f414cfa6ca
[xcode14.1] Bump to Xcode 14.1 Release Candidate (#16379) 2022-10-19 07:56:47 +02:00
Rolf Bjarne Kvinge 57307a4168
Merge main into xcode14.1. (#16364) 2022-10-18 08:03:58 +02:00
Rolf Bjarne Kvinge a15b2e0fe0
Bump min watchOS simulator version. (#16317) 2022-10-17 17:57:47 +02:00
Rolf Bjarne Kvinge cb6f555665 Merge main into xcode14.1. 2022-10-17 11:35:33 +02:00
Rolf Bjarne Kvinge 5975ffd6f1 Merge main into net7.0. 2022-10-17 10:21:24 +02:00
Rolf Bjarne Kvinge 05939b5e86
[xtro] Don't allow entries in 'common' ignore files that aren't actually common to all platforms for a given framework. Fixes #12769. (#16342)
This makes it possible to run xtro consistently when not all platforms are
enabled.

Fixes https://github.com/xamarin/xamarin-macios/issues/12769.

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2022-10-14 09:29:59 +02:00
Rolf Bjarne Kvinge 34ced976e2
[net7.0] Disable legacy Xamarin builds. (#16335)
We don't need legacy Xamarin builds in .NET 7, so this will hopefully speed up
our builds (and posterior signing) significantly.

This change should not be merged back into main.
2022-10-14 09:20:31 +02:00
Rolf Bjarne Kvinge 71657cfe83
Disable objc_msgSend stubs in clang. Fixes #16223. (#16231)
Clang will by default emit objc_msgSend stubs in Xcode 14, which ld from
earlier Xcodes doesn't understand. We disable this by passing
-fno-objc-msgsend-selector-stubs to clang.

Ref: https://developer.apple.com/videos/play/wwdc2022/110363/
Ref: https://www.wwdcnotes.com/notes/wwdc22/110363/
Ref: https://github.com/llvm/llvm-project/issues/56034

Fixes https://github.com/xamarin/xamarin-macios/issues/16223.
2022-10-05 08:43:24 +02:00
Alex Soto 27e6958b0a
[xcode14.1] Bump to Xcode 14.1 Beta 3 (#16010)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-10-03 17:24:41 +02:00
VS MobileTools Engineering Service 2 3b9de9c4f0
[xcode14.1] Bump API references to Xcode 14 stable release for iOS, tvOS and watchOS. (#16168)
Backport of #16150

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-09-30 14:47:11 +02:00
Rolf Bjarne Kvinge 15e9683a53 Bump main in net7.0. 2022-09-22 07:55:18 +02:00