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

10290 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 783faabb73
[CI] Sign .NET packages. (#10563)
* [CI] Sign .NET packages.

* [CI] Extract package signing from the 'Build Packages' step and do it after 'Build Nugets' so that Nugets can be signed too.

* Build packages for 'IndividualCI' as well.

This happens when pushing additional commits to a PR.
2021-02-03 12:49:34 +01:00
Rolf Bjarne Kvinge 2e0225fd87 [dotnet-linker] Implement Application.IsAOTCompiled for macOS on .NET. 2021-02-03 08:03:31 +01:00
Rolf Bjarne Kvinge 7dff6803b6
[src] Fix generating Constants.SdkVersion for Mac Catalyst. (#10564) 2021-02-03 07:40:45 +01:00
Rolf Bjarne Kvinge c5afca3888
Bump to .NET 6.0.100-preview.1.21081.5. (#10552)
* Bump to .NET 6.0.100-preview.1.21080.4.

* [dotnet] The linker automatically marks the build output as a root assembly.

* Bump to .NET 6.0.100-preview.1.21081.5.

* [dotnet] Turns out we do need mark the build output as a root assembly, but with we now have to use the full path.
2021-02-03 07:32:05 +01:00
Sebastien Pouliot 0c1b7e8935
[wkwebkit] Add nullability to (generated and manual) bindings (#10561)
See [HOWTO](https://github.com/xamarin/xamarin-macios/wiki/Nullability)
2021-02-02 21:42:23 -05:00
Manuel de la Pena 65d22043b8
[CI][VSTS] Do not step over success statuses in rebuilds. (#10565) 2021-02-02 14:56:50 -05:00
Rolf Bjarne Kvinge 7cd0dab9d9
[msbuild] Fix computing the frameworks directory for Mac Catalyst. (#10557)
This is part 2 of making framework-test build on Mac Catalyst.

Contributes to https://github.com/xamarin/xamarin-macios/issues/10440.
2021-02-02 08:46:38 +01:00
Rolf Bjarne Kvinge a3235c4fbd
[tests] Use the 'Apple Developer' code signing key instead of 'iPhone Developer' for framework-test. (#10556)
This is part 1 of making framework-test build on Mac Catalyst.

Contributes to https://github.com/xamarin/xamarin-macios/issues/10440.
2021-02-02 08:46:17 +01:00
Manuel de la Pena c0b698eefc
[xcode12.4][VSTS][CI] Fix issues with the internal pool and VSTS git usage. (#10560)
The internal pool, for some reason, do not like the cred store. We need
this to fix the interaction with the maccore repo.

1. VSTS uses https
2. We need to set the pat and try no to modify all bash scripts.

We do so by changing the remote url of maccores git repo so that it
includes the pat.
2021-02-01 18:27:46 -05:00
Rolf Bjarne Kvinge 13fd8f5b07
[tests] Adjust BundledResources.ResourcesTest to pass on Mac Catalyst. (#10553)
This makes dont link green on Mac Catalyst.

Also adjust xharness to run dont link/Mac Catalyst by default.

Contributes towards https://github.com/xamarin/xamarin-macios/issues/10440.
2021-02-01 18:42:40 +01:00
Rolf Bjarne Kvinge 51648223be Add newly added localizable string to canary test of translated strings. 2021-02-01 17:14:42 +01:00
Rolf Bjarne Kvinge f5d980bc08 [msbuild] Add an E7071 error message 2021-02-01 14:37:31 +01:00
Rolf Bjarne Kvinge 7f0e2449f7 [dotnet-linker] Add a new task that computes the arguments to the AOT compiler. 2021-02-01 14:37:31 +01:00
Manuel de la Pena 390fab7c0b
[VSTS][CI] Fix issues with the internal pool and VSTS git usage. (#10550) 2021-02-01 06:19:21 -05:00
Manuel de la Pena 414ea132c4
[CI][VSTS] Re-enable the nuget feed push for the preview. (#10551)
* [CI][VSTS] Publish nugets to the preview feed.

fixes: https://github.com/xamarin/xamarin-macios/issues/10300

* Be verbose when publishing to know what is really going on.

* Make bash verbose too.

* Use the yaml step as Xamarin.Android does.

* We do not longer use the bash script.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2021-02-01 08:24:31 +01:00
Rolf Bjarne Kvinge 0372e07829
[monotouch-test] Make it work with Mac Catalyst. (#10439)
* Fix system version checks to work properly on Mac Catalyst (which uses the macOS
  version as its system version).

* Add the framework-specific defines to the build for monotouch-test.csproj (using
  the generated response files), this way we can use them in the tests.

* Sprinkle conditionals in numerous places - I tried using either framework-specific
  or XAMCORE_3_0 whenever that made since (instead of using Mac Catalyst as a condition).

* Updated a few tests to use non-deprecated API (because the deprecated API often
  doesn't exist in Mac Catalyst).

* Also a few minor API fixes to make any corresponding tests compile.
2021-02-01 08:14:38 +01:00
Rolf Bjarne Kvinge b3ca00a14a
[CI] Add *.msi files as well to our list of packages we've published. (#10549) 2021-01-29 15:29:46 -05:00
Rolf Bjarne Kvinge abd54028b8 Merge remote-tracking branch 'origin/main' into catalyst-monotouch-test 2021-01-29 19:01:10 +01:00
Rolf Bjarne Kvinge 506b4f1b30 Fix boolean logic (or not!?) 2021-01-29 19:01:00 +01:00
Rolf Bjarne Kvinge 7824319964 [xtro] More xtro updates. 2021-01-29 18:58:48 +01:00
Rolf Bjarne Kvinge a9c21ef791
[dotnet] Add support for some of the single-project MSBuild properties. (#10545)
* [tests] Add test case for single-project properties in .NET.

* [msbuild] Add support for the single-project ApplicationId MSBuild property.

* [msbuild] Add support for the single-project ApplicationTitle, ApplicationVersion and AppleShortVersion MSBuild properties.

* [dotnet] Enable the single-project MSBuild properties by default.

* [dotnet] Add a short doc about single project properties.

* [tests] Fix the GeneratePlistTaskTests.BundleIdentifier test according to bundle identifier changes.

This test asserts that the CFBundleIdentifier value in the Info.plist isn't
overwritten, and does so by calling the CompileAppManifest task, giving it a
different value for the bundle identifier than what's in the Info.plist.

The behavior change is that now we do things in the following manner:

DetectSigningIdentityTask will read the Info.plist, compute a bundle
identifier (which will be the value from the Info.plist if it's there), and
returns it to the MSBuild code. Eventually that value will be passed to the
CompileAppManifestTask, which will write it to the Info.plist.

However, this test doesn't run the DetectSigningIdentityTask, which means that
the initial value for the bundle identifier doesn't come from the Info.plist.
2021-01-29 17:37:37 +01:00
Rolf Bjarne Kvinge 21e2462e9c Adjust code according to code review. 2021-01-29 11:06:55 +01:00
Rolf Bjarne Kvinge 37ab334489 [tests] Adjust TestRuntime.RequestEventStorePermission to work on Mac Catalyst. 2021-01-29 11:00:14 +01:00
Rolf Bjarne Kvinge 794214e0cd [xtro] Fix a few SafariServices entries for Mac Catalyst. 2021-01-29 10:54:06 +01:00
Rolf Bjarne Kvinge fa72e6c890 [dotnet] Add the AOT output directory and IntermediateLinkDir to the custom linker options 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge fcd042a78a [tools] Make corlib check platform neutral 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 17f3cedc75 [tools] Rework GetAotArguments so we get the output in different variables, like the .NET AOT task requires it 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge fa1ef254d6 [dotnet] Make the output directory for AOT-compiled code arch-specific 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 592ff8b931 [dotnet-tools] Make it compile. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 8f36d37659 [tools] Move Driver.GetAotArguments to shared code. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 03cef5c3c2 [dotnet-tools] Initialize EnableMSym on .NET 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 96a2d84403 [tools] Move Application.EnableMSym from mtouch to shared code. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge abffb528d1 [tools] Move the various Dlsym options/logic from mtouch to shared code 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 32b13d4598 [tools] Move the DlsymOptions enum to its own file.
Also add it to mmp.
2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge d75a455e45 [dotnet] Don't call mono_ee_interp_init in .NET.
It ends up asserting:

> * Assertion at /Users/runner/work/1/s/src/mono/mono/mini/interp/interp.c:7543, condition `!interp_init_done' not met

because it's already been called.
2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge dfa1284c2f [tests] Add .NET Xamarin.Forms test app. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge 0a581bb3f7 [tests] Add test project for running iOS apps with the interpreter. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge c80eed5d62 [tools] Pass and parse the MtouchInterpreter value. 2021-01-28 08:09:59 +01:00
Rolf Bjarne Kvinge d9af032dd5 [xharness] Run Mac Catalyst variations by default, and disable all but monotouch-test by default.
This will effectively run monotouch-test on Mac Catalyst by default.
2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge d1735ae779 [monotouch-test] Adjust ExceptionsTest.ManagedExceptionPassthrough according to behavior on Mac Catalyst. 2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge cfc32f237e [monotouch-test] Ignore tests that require the GC to actually work in Mac Catalyst. 2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge ea56e75816 [monotouch-test] Ignore a few Font tests due to bugs in Mac Catalyst. 2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge 1a2d352087 [monotouch-test] Ignore a few tests that require a custom provisioning profile on Mac Catalyst. 2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge df4d85ab84 [monotouch-test] Adjust PassLibraryTest.Defaults for Mac Catalyst. 2021-01-28 08:08:02 +01:00
Rolf Bjarne Kvinge 4ec519b7cb [monotouch-test] Fix AVCapturePhotoBracketSettingsTest.TestConstructor to take into account the max bracketed capture photo count. 2021-01-28 08:07:58 +01:00
Rolf Bjarne Kvinge 52e29c4130 [monotouch-test] Adjust version checks according to how they're done now for Mac Catalyst. 2021-01-28 08:07:58 +01:00
Rolf Bjarne Kvinge 4a734d0673 [tests] Adjust TestRuntime.Check*SystemVersion according to how version checks are done on Mac Catalyst now. 2021-01-28 08:07:58 +01:00
Rolf Bjarne Kvinge 13eceb5749 [UIKit] Add a custom version of UIDevice.CheckSystemVersion to Mac Catalyst. Fixes #10453.
Add a custom version of UIDevice.CheckSystemVersion that checks the iOS version for
Mac Catalyst.

Fixes https://github.com/xamarin/xamarin-macios/issues/10453.
2021-01-28 08:07:58 +01:00
Rolf Bjarne Kvinge 72b50c4693 Merge remote-tracking branch 'origin/main' into HEAD 2021-01-28 08:07:48 +01:00
Alex Soto 5a05865f66
[xcode12.4] Bump to use Xcode 12.4 Stable (#10544) 2021-01-28 08:02:41 +01:00