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

14051 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 4acb844e5c
[runtime] Adjust exception handling to always return managed exceptions if so requested. (#15432)
In the following scenario:

* Objective-C exception mode is to throw a managed exception.
* The xamarin_process_nsexception_using_mode was given a pointer to store any
  resulting exceptions.
* The Objective-C exception didn't already have an associated managed exception.

We'd throw the managed exception upon return to managed code instead of
returning the managed exception.

With this change the xamarin_process_nsexception_using_mode will always return
the resulting managed exception in the scenario above (this way the behavior
is identical independent of whether the Objective-C exception already has an
associated managed exception or not).
2022-07-13 10:59:40 +02:00
Rolf Bjarne Kvinge 76fbc898cc
[runtime] The InitializationFlagsDynamicRegistrar flag is never used, so remove it (#15435) 2022-07-13 10:59:13 +02:00
Rolf Bjarne Kvinge 83620bd619
[Dlfcn] Add an enum to specify the mode to dlopen (#15438) 2022-07-13 10:58:54 +02:00
Rolf Bjarne Kvinge b83eedc2b4
[runtime] Adjust nullability a bit (#15439) 2022-07-13 10:58:40 +02:00
Rolf Bjarne Kvinge 3c95b65ef9
[runtime] Simplify code to use existing local variable (#15441) 2022-07-13 10:58:08 +02:00
Rolf Bjarne Kvinge bdfdd19bff
[devops] Simplify validation for cleanup script. (#15470) 2022-07-13 10:43:42 +02:00
Rolf Bjarne Kvinge bc23ece1fc
[monotouch-test] Improve MonoTouchFixtures.ObjCRuntime.ToggleRefRetainDeadlockTest to get a native stack trace upon failure. (#15476) 2022-07-13 10:40:33 +02:00
dotnet-maestro[bot] 54192846aa
[main] Update dependencies from dotnet/runtime (#15425)
Microsoft.NETCore.App.Ref
 From Version 6.0.6 -> To Version 6.0.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-07-12 19:10:09 +02:00
Rolf Bjarne Kvinge 77a16fcc58
[dotnet] Stop hardcoding the TargetFrameworkVersion in the default items template. (#15386)
This prepares us for net7.0 and beyond; no need to update any of this code anymore.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-12 10:34:15 +02:00
Rolf Bjarne Kvinge 3c7c4e7130
[dotnet] Generate the AutoImport.props file for each platform. (#15387)
This reduces some code duplication.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-12 10:00:35 +02:00
Rolf Bjarne Kvinge 4e1114fde6
[tools] Use MONO_AOT_MODE_INTERP_ONLY instead of MONO_AOT_MODE_INTERP for x86_64. (#15429)
The 'MONO_AOT_MODE_INTERP' mode is based on full AOT, which requires infinite
trampoline code to not potentially run out of trampolines. However, that mode
isn't implemented for x86_64, so in that case use 'MONO_AOT_MODE_INTERP_ONLY',
which will use the JIT as a fallback.

Ref: https://github.com/dotnet/runtime/issues/68808

Fixes: https://github.com/xamarin/xamarin-macios/issues/14887
2022-07-12 09:56:51 +02:00
Rolf Bjarne Kvinge f7772d4705
[dotnet] Accept invalid runtime identifiers for Restore. (#15357) 2022-07-12 09:37:01 +02:00
Rolf Bjarne Kvinge 620a4ebbd9
[dotnet] Generate Microsoft.<platform>.Sdk.ImplicitNamespaceImports.props. (#15385)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-12 09:34:55 +02:00
Rolf Bjarne Kvinge 3609f59373
[actions] Add action to re-generate global.json for a dotnet/installer bump. (#15456) 2022-07-12 09:15:46 +02:00
Steve Hawley ee03980483
removed constructor size limit (#15459) 2022-07-11 17:00:40 -04:00
Rolf Bjarne Kvinge 1f1c03b435
[msbuild] Copy partial app manifests to build server if they exists on Windows. Fixes #15267. (#15328)
The exclusion of partial app manifests happened here, but the commit doesn't explain why:

f4a4b232f8 (diff-178de6110858688b9f7c2e8e57a873f5ac9498b355a456bfc18547ab2df876bc)

It's certainly wrong if the partial app manifest is a part of the project, but
this exclusion might be because partial app manifests might be added as a part
of the build as well.

So change the logic to copy partial app manifests from Windows if they exist
there and they're not empty.

Fixes https://github.com/xamarin/xamarin-macios/issues/15267.
2022-07-11 20:39:07 +02:00
Rolf Bjarne Kvinge 978835aff2
[CoreCLR] Avoid having any internal calls in managed code for CoreCLR. Fixes #15343. (#15358)
CoreCLR does not like running into methods declared as internal calls:

    [MethodImplAttribute (MethodImplOptions.InternalCall)]

and will fail with an error, even if the method is never executed, just encountered by the JIT:

    ECall methods must be packaged into a system module

In the early days of .NET support we solved this by adding an indirection for
CoreCLR, where the internal call was hidden inside a managed call that would
never be executed at runtime. This seems to work fine in most cases, except
when the debugger attached, when I'm guessing the JIT is more aggressive, and
looks further ahead (and fails).

On the other hand, in the early days of .NET support on macOS the managed code
had to work for both Mono and CoreCLR without modification (since the same
implementation assembly would be picked by the build independent on the actual
runtime). This is no longer the case, since we only support CoreCLR on macOS
now, which allows us to put any Mono-specific managed code (such as the
internal call) in !macOS conditions.

Fixes https://github.com/xamarin/xamarin-macios/issues/15343.
2022-07-11 20:09:08 +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 1aed252ebc
Bump MonoTouch.Dialog and Touch.Unit. (#15388)
New commits in migueldeicaza/MonoTouch.Dialog:

* migueldeicaza/MonoTouch.Dialog@558958b Revert "[MonoTouch.Dialog] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files. (migueldeicaza/MonoTouch.Dialogspouliot/Touch.Unit#261)"

Diff: 8e859cc662..558958b0a2

New commits in spouliot/Touch.Unit:

* spouliot/Touch.Unit@564433f Revert "[Touch.Client] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files. (spouliot/Touch.Unit#113)"

Diff: 6963a2a279..564433f35c

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 20:01:26 +02:00
Rolf Bjarne Kvinge 3751d37a99
[dotnet] Use an arm64-based .NET local install on arm64 machines. Fixes #15375. (#15389)
Fixes https://github.com/xamarin/xamarin-macios/issues/15375.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 20:00:53 +02:00
Rolf Bjarne Kvinge 40aa3b2dfd
[ObjCRuntime] Add missing cases for UIntPtr for determining if a type is a built-in type. (#15391)
Also fix a typo for "System.nint".

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 20:00:11 +02:00
Rolf Bjarne Kvinge d251b69ae7
[generator] Don't use culture-aware API. (#15392)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 19:59:36 +02:00
Rolf Bjarne Kvinge 7ad3f2b740
Bump xharness. (#15423)
Bump xharness to get TCC fix:

53594edb70
2022-07-11 19:55:56 +02:00
Rolf Bjarne Kvinge e85d9f8619
[tests] Update tests to find nunit.framework.dll in our own local package folder. (#15422)
Fixes these test failures:

    Xamarin.MTouch.FastDev_LinkAll(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll_Then_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll_Then_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkSDK(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkSDK(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkWithTest(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkWithTest(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkAll(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkAll(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkSDK(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkSDK(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_Sim(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_Sim(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.RebuildWhenReferenceSymbolsInCode: System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
2022-07-11 19:55:26 +02:00
Rolf Bjarne Kvinge 840d2e9115
[msbuild] Remove code for watchOS 1 extensions, which we no longer support. (#15327) 2022-07-11 10:54:19 +02:00
Rolf Bjarne Kvinge abbd6ef466
[msbuild/tools] Fix path issues in the FilterStaticFrameworks task and ExtractBindingLibraries step. Fixes #15289. (#15321)
In the FilterStaticFrameworks task:

* Convert Windows-style paths to Mac-style paths.
* Give a better error if a framework can't be found.
* Don't try to copy frameworks that don't exist on Windows to the Mac.

In the ExtractBindingLibrariesStep:

* Return a relative path to frameworks we've extracted to make things easier for
  remote builds.

* In the _ComputeFrameworkFilesToPublish target, don't compute the source
  directory for frameworks using RootDir + Directory, because some frameworks
  may only exist on the mac, and RootDir + Directory will be a Windows path
  when building remotely. Instead use 'Identity', which is a relative path and
  will work on both Windows and Mac.

Fixes https://github.com/xamarin/xamarin-macios/issues/15289.
2022-07-11 10:39:54 +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 7a02358c0e
[build] Commit global.json to get maestro updates. (#15401) 2022-07-08 16:51:15 +02:00
Rolf Bjarne Kvinge 1ecd84353f
[dotnet] Fix hang after packing .NET NuGets. Fixes #13355. (#15407)
This has been bothering me for a while... the symptom is that the build just
hangs at the end. Curiously it's never happend on the bots, only locally.

1. It only happens when using parallel make. When using parallel make, make is
   in a jobserver mode, where sub-makes are controlled using a pair of file
   descriptors inherited by the sub-makes. A consequence of this algorithm is
   that the controlling make process will wait until all inherited file
   descriptors have been closed before it will realize that all its sub-makes
   have finished.
2. 'dotnet pack' will build the corresponding project, and that might start a
   background compiler server.
3. This background compiler server does not seem to close any file descriptors
   it inherits.
4. The background compiler server does not necessarily exit by the time `make`
   is done.
5. The result is that `make` things there are still sub-makes doing stuff,
   because there are inherited file descriptors still open.
6. Killing the compiler server (in another terminal for instance) will make
   make realize it's done (and the hang is resolved).

So I'm applying the last point: shutting down the compiler server after
packing all the .NET NuGets.

Fixes https://github.com/xamarin/xamarin-macios/issues/13355.
2022-07-08 16:50:20 +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
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
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 9a8d74b880
[Build] Allow to skip the build of Hotrestart. (#15380) 2022-06-30 09:18:42 -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 eee31cb3fa
Should be || not && (#15367) 2022-06-28 20:29:40 -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
Steve Hawley b4c68ab209
manage DisposableObject (#15355) 2022-06-27 16:02:20 -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
dependabot[bot] 73681fd173
Bump peterjgrainger/action-create-branch from 2.0.1 to 2.2.0 (#15350)
Bumps [peterjgrainger/action-create-branch](https://github.com/peterjgrainger/action-create-branch) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/peterjgrainger/action-create-branch/releases)
- [Commits](https://github.com/peterjgrainger/action-create-branch/compare/v2.0.1...v2.2.0)

---
updated-dependencies:
- dependency-name: peterjgrainger/action-create-branch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:21:36 -04:00
dependabot[bot] 389d09bca4
Bump actions/checkout from 2 to 3 (#15351)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:49 -04:00
dependabot[bot] 8fcf8d0daf
Bump peter-evans/repository-dispatch from 1 to 2 (#15352)
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 1 to 2.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:34 -04:00
dependabot[bot] 5f6855f021
Bump devmasx/merge-branch from 1.3.1 to 1.4.0 (#15353)
Bumps [devmasx/merge-branch](https://github.com/devmasx/merge-branch) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/devmasx/merge-branch/releases)
- [Changelog](https://github.com/devmasx/merge-branch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/devmasx/merge-branch/compare/v1.3.1...1.4.0)

---
updated-dependencies:
- dependency-name: devmasx/merge-branch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:16 -04:00
Naveen 573480b394
chore: Included githubactions in the dependabot config (#15330)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-06-27 13:23:48 +02:00
Rolf Bjarne Kvinge a55557fd54
[NSObject] Unify some code between iOS and macOS. (#15302)
* Add these methods to shared code so they're available on all platforms
  (they're already available on mobile platforms), since there's no reason to
  exclude them on macOS:
    * NSObject.Init
    * NSObject.Alloc
    * NSObject.InvokeInBackground
* Remove unused usings.
* Move identical code in platform-specific files to shared code.
2022-06-27 12:53:09 +02: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 2521d07ab2
[CI] Do not run introspection unless it has been selected. (#15342) 2022-06-24 12:45:26 -04:00