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

12003 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena 44f570e85b
[CI] Use a variable present in templates. (#12913) 2021-10-02 11:49:24 -04:00
Manuel de la Pena 17ac541e91
[CI] Add a conditional variable template. (#12912) 2021-10-02 11:49:00 -04:00
Manuel de la Pena d9f7e3b224
[CI] Allow to pass extra args to the donet install. (#12910) 2021-10-02 11:48:35 -04:00
Alex Soto 147c264a24
[mono] Bump mono/2020-02 to latest HEAD (#12914)
New commits in mono/mono:

* mono/mono@4150e65c9e [aot] Don't leak unbox trampolines (#21225)
* mono/mono@5a21247f36 Stop using git protocol for submodules
* mono/mono@66e81934b7 [MacSDK] Add F# targets to VisualStudio/v17.0 directory (#21218)
* mono/mono@0c979e6d76 Ignore inherit param for ParameterInfo.GetCustomAttributes (#21201)
* mono/mono@2207434690 [mini] Don't add unbox tramopline on generic DIM calls (#21209)
* mono/mono@a1ada04a58 [2020-02][linux] Some pseudo-tty fixes (#21205)

Diff: 3cf59ad33d..4150e65c9e
2021-10-02 11:47:45 -04:00
Manuel de la Pena ac5a40b426
[CI] Do not publish private pkgs. (#12903) 2021-10-01 17:22:06 -04:00
Alex Soto 8dfb898472
[CI] Add explicit checkout name (#12905) 2021-10-01 15:20:11 -04:00
Manuel de la Pena be99420469
[CI] Conditionally add env group. (#12907) 2021-10-01 15:18:40 -04:00
Manuel de la Pena 778fd93754
[Maccore] Bump maccore to bring the feed config. (#12904) 2021-10-01 15:17:30 -04:00
Manuel de la Pena 290152d1af
[CI] Manually add certain arcade files. (#12908) 2021-10-01 15:16:09 -04:00
Manuel de la Pena d6baae5b5b
[Actions] Fully workig pong (#12898) 2021-10-01 12:10:05 -04:00
dotnet-maestro[bot] 9d1b569d46
Update dependencies from https://github.com/dotnet/installer build 20210930.9 (#12883)
Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-rtm.21479.7 -> To Version 6.0.100-rtm.21480.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-10-01 08:41:19 +02:00
Rolf Bjarne Kvinge 82e5fc4192
[msbuild] Ignore CS8002 for the Xamarin.iOS.Tasks and Xamarin.Mac.Tasks projects. (#12867)
Fixes these warnings, which we don't care about:

    CSC : warning CS8002: Referenced assembly 'Xamarin.MacDev.Tasks.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj]
    CSC : warning CS8002: Referenced assembly 'Xamarin.iOS.Tasks.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj]
    CSC : warning CS8002: Referenced assembly 'Xamarin.MacDev.Tasks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj]
    CSC : warning CS8002: Referenced assembly 'Xamarin.Localization.MSBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj]
    CSC : warning CS8002: Referenced assembly 'Xamarin.MacDev.Tasks.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj]
    CSC : warning CS8002: Referenced assembly 'Xamarin.Mac.Tasks.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [(...)/xamarin-macios/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj]
2021-10-01 08:40:19 +02:00
Rolf Bjarne Kvinge 43d894da15
[msbuild/tools] Augment the CreateBindingResourcePackage to support creating a zipped binding resource package. (#12868)
Augment the CreateBindingResourcePackage to support creating a zipped binding
resource package (which is just a zipped version of the binding resource
package). This can either be manually chosen by the new 'Compressed' property,
or automatically detected (create a zipped version when there's a symlink in
the binding resource package).

The default is to not create a zipped version in legacy Xamarin, and
automatically detect for .NET.

The problem this is trying to solve is when creating a NuGet package - NuGet
doesn't handle symlinks correctly and it's not possible to create a NuGet with
symlinks. Instead we need to create a zipfile with all the binding resources.
The default has been chosen so that we automatically create a zip file when
it's required for .NET, while still maintaining old behavior with legacy
Xamarin.
2021-10-01 08:40:01 +02:00
Rolf Bjarne Kvinge 4c9e2668b5
[tests] Add more special cases for random network errors on CI. (#12879)
Ref: https://github.com/xamarin/maccore/issues/2304
2021-10-01 08:36:40 +02:00
Rolf Bjarne Kvinge 26771dfefa
[xharness] Remove iOS 32-bit simulator support, current Xcodes don't support it. (#12880)
Our existing tests that claimed to run iOS 32-bit tests were really executing
in 64-bit mode.
2021-10-01 08:33:18 +02:00
Rolf Bjarne Kvinge 7bd39ff873
[tests] Make sure interdependent-binding-projects builds with our workaround for NUnit bugs in .NET. (#12881) 2021-10-01 08:31:31 +02:00
Rolf Bjarne Kvinge 10f833b032
[dotnet] Implement support for the MtouchFloat32 MSBuild property. Fixes #12524. (#12882)
Implement support for the MtouchFloat32 MSBuild property, and do so in a way
that allows us to change the default in the future, if we so wish.

Fixes https://github.com/xamarin/xamarin-macios/issues/12524.
2021-10-01 08:31:11 +02:00
Rolf Bjarne Kvinge 403bc2e774
[tests] Add a test to verify that AppDomain.CurrentDomain.BaseDirectory is always something. Fixes #12687. (#12885)
Fixes https://github.com/xamarin/xamarin-macios/issues/12687.
2021-10-01 08:29:56 +02:00
Manuel de la Pena 4b46d232e0
[Actions] Update local. (#12897) 2021-10-01 00:08:26 -04:00
Manuel de la Pena 4cc252d314
[Actions] Initial code for pong. (#12896) 2021-09-30 23:48:12 -04:00
Manuel de la Pena c1d877dceb
[Actions] Use sudo powers. 2021-09-30 23:22:47 -04:00
Manuel de la Pena 4c2676f971
[Action] Use token. 2021-09-30 22:45:26 -04:00
Manuel de la Pena acb3a07249
[Actions] Use market action. (#12895) 2021-09-30 22:43:19 -04:00
Manuel de la Pena 35e1d5355f
[Actions] Add request content. 2021-09-30 22:32:02 -04:00
Manuel de la Pena cf6a73a699
[Actions] Add debugging. 2021-09-30 22:26:57 -04:00
Manuel de la Pena 342d2eee74
[Actions] Correct token. 2021-09-30 22:17:27 -04:00
Manuel de la Pena ecceff9700
[Action] Add first step to a pong. (#12894) 2021-09-30 21:37:13 -04:00
Manuel de la Pena 9d0fc6eac8
[Actions] missing " == syntax error 2021-09-30 21:27:45 -04:00
Manuel de la Pena c6d7d3f1cb
[Actions] Remove failing step. 2021-09-30 21:26:41 -04:00
Manuel de la Pena 279f99f4e3
[]Action] Replace over bash. (#12893) 2021-09-30 21:25:22 -04:00
Manuel de la Pena 20bd126c63
[Actions] Fix redirect. (#12892) 2021-09-30 21:17:28 -04:00
Manuel de la Pena 379391225a
[Action] Fix branch name. (#12891) 2021-09-30 21:12:02 -04:00
Manuel de la Pena 762130f663
[Actions] Perform the repo dispatch in our ping action. (#12890) 2021-09-30 21:05:51 -04:00
Manuel de la Pena ae5ca77603
[Actions] Fix ping action.
Fix the old syntax.
2021-09-30 20:58:21 -04:00
Manuel de la Pena eb871b7bb4
[Actions] Provide first step for a ping action. (#12889) 2021-09-30 20:55:11 -04:00
Chris Hamons 3ffabb1daa
[AppKit] Add Catalyst attributes (#12863) 2021-09-30 09:57:10 -05:00
dotnet-maestro[bot] e23a7de01d
Update dependencies from https://github.com/dotnet/installer build 20210929.7 (#12864)
Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-rtm.21478.8 -> To Version 6.0.100-rtm.21479.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-09-30 11:00:50 +02:00
Rolf Bjarne Kvinge 9286bfb793
[msbuild/dotnet] Compile project-level assets in the outer build for multi-rid builds. Fixes #12410. (#12847)
We don't need to compile project-level assets for every RuntimeIdentifier in
multi-rid builds, we can instead compile them just once in the outer build.

There is also a correctness issue here: we can't compile assets more than once
and expect to get the exact same compiled result every time (in particular
actool seems to be adding random bytes in to the compiled output), and this
creates a problem when trying to merge the different runtime-specific compiled
output into a universal binary.

We accomplish this by:

* Processing these assets in the outer build, before we execute the
  rid-specific inner builds.
* Store the paths to the assets we've processed in a file.
* In the inner builds, we read that file, and remove any matches from the
  corresponding item group.
* Make sure to copy the compiled assets to the app bundle at the end of the
  outer build.

These are the assets we currently handle this way:

* BundleResource
* ImageAsset
* InterfaceDefinition
* SceneKitAsset
* Collada
* TextureAtlas
* CoreMLModel

Also:

* Add a new test case (AppWithResource) that contains all these different
  types of assets.
* Add support for the ScnTool task on Mac Catalyst (which the new test case
  revealed was missing).

Fixes https://github.com/xamarin/xamarin-macios/issues/12410.
2021-09-30 08:25:10 +02:00
Rolf Bjarne Kvinge 72e2be57a5
[devops] Set a 1h timeout on cleanup duties. (#12865)
If cleaning takes longer than 1h then something is stuck somewhere, so let's
just ignore it and hope for the best for the rest of the test run.
2021-09-30 08:24:20 +02:00
Rolf Bjarne Kvinge 2417377017
[tests] Fix a few nullability warnings. (#12872) 2021-09-30 08:21:43 +02:00
Rolf Bjarne Kvinge 7a090e9dc8
[msbuild] Sign the localization assembly as well. (#12869)
Fixes this problem:

    error MSB4018: The "FindItemWithLogicalName" task failed unexpectedly.
    error MSB4018: System.IO.FileLoadException: Could not load file or assembly 'Xamarin.Localization.MSBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
    error MSB4018: File name: 'Xamarin.Localization.MSBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
    error MSB4018: at Xamarin.MacDev.Tasks.FindItemWithLogicalNameTaskBase.Execute()
    error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
2021-09-30 07:32:06 +02:00
TJ Lambert 7bf18ab179
[CI] Print the API Diff Json for easier debugging (#12876) 2021-09-29 22:31:08 -05:00
Chris Hamons af416003f1
[Foundation] Add attributes and fix ignores for Catalyst (#12854) 2021-09-29 10:18:01 -05:00
dotnet-maestro[bot] 071b665016
Update dependencies from https://github.com/dotnet/installer build 20210928.8 (#12859)
Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-rtm.21476.2 -> To Version 6.0.100-rtm.21478.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-09-29 08:16:46 +02:00
Rolf Bjarne Kvinge cd2867d44c
[msbuild] Share the Metal[Lib] task implementations between iOS and macOS. (#12851) 2021-09-29 07:55:55 +02:00
Rolf Bjarne Kvinge 3d182c5c54
[Metal] Fix a few issues in MTLDevice. (#12861)
* MTLCopyAllDevices returns a retained object, so we need to release it.
* MTLCopyAllDevicesWithObserver returns an observer (no need to provide one). This
  means we can obsolete the 'ref NSObject' overload (the API doesn't make sense),
  and instead add an 'out NSObject' overload.
* The returned observer from MTLCopyAllDevicesWithObserver is retained, so we must
  release it.
* The returned array from MTLCopyAllDevicesWithObserver is a retained object, so
  we need to release it.
* Simpify the supporting block code for the calls to MTLCopyAllDevicesWithObserver.
* Clean up the block we passed to MTLCopyAllDevicesWithObserver.
2021-09-29 07:54:42 +02:00
github-actions[bot] 8fa1ccad0b
LEGO: check in for Localization to temporary branch. (#12849)
Co-authored-by: CSIGS <csigs@outlook.com>
2021-09-28 14:34:38 -04:00
Rolf Bjarne Kvinge 5fcd73b160
[actions] Fix yml syntax. (#12860) 2021-09-28 14:33:10 -04:00
Rolf Bjarne Kvinge 09905e8021
[msbuild] Share the ALToolUpload and ALToolValidate task implementations between iOS and macOS. (#12852) 2021-09-28 17:38:51 +02:00
Rolf Bjarne Kvinge 8b2288fe59
[msbuild] Share the ScnTool task implementation between iOS and macOS. (#12850) 2021-09-28 17:31:53 +02:00