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

165 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho d44dfefa23
[ci] Enable provisionator with variable or devdiv (#25966)
* Add maui-template-steps

* fix naming

* Try to provision on devdiv

try

fix

Try provision on devdiv

More provision

Do provisioning on devdiv

try again

fix

Try with secrets

* Try centralize demands

* fix demands

* fix

* Fix pool

* Use a global variable

* try again

* teste

* try

* this works

* Try again

* use for templates

* Try more variable for provisionator

* See if it works like this on xamarin

* Add condition for mactemplates

* Fix provisioning device tests

* Fix pool
2024-11-20 22:06:05 +00:00
Rui Marinho 0fae06d9ec
[ci] Split templates (#25953)
undefined
2024-11-19 22:36:52 +00:00
Rui Marinho 27c4f7901a
Try not run on arm64 (#25701)
* Try not run on arm64

* Add timeouts

* Increase the timeout to 30 min on template tests
2024-11-06 23:22:46 +00:00
Rui Marinho 0d3d8715cf
Try skip provisionator (#25615)
don t do xcode

No secrets

Skip provisioning on templates

Skip for uitests

Try xcode select

try again

Fix yml

fix sikpXcode

fix variable

again

Fix skip xcode
2024-11-01 12:44:24 +00:00
Rui Marinho cb38cfbc27
[ci] Skip provisioning extra (#25605)
* [ci] Skip provisioning when doing the pack

* Add it to handlers

* Try skip the variables

* Update provision.yml

* Update versions
2024-10-30 21:50:18 +00:00
Rui Marinho 66f6cfa905 Maybe try skip this on handlers main build 2024-10-16 19:08:13 +01:00
Rui Marinho 277bf7a2ac
[ci] Try skip install android stuff on handlers build (#25293) 2024-10-16 11:57:21 +01:00
Matthew Leibowitz e43542007d Merge branch 'main' into merge-main-into-net9-again
# Conflicts:
#	eng/Version.Details.xml
#	eng/Versions.props
#	eng/devices/ios.cake
#	src/Controls/src/Core/BindableObject.cs
#	src/Controls/src/Core/Handlers/Items/CarouselViewHandler.Windows.cs
#	src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Core/src/Handlers/Application/ApplicationHandler.Android.cs
#	src/Core/src/Handlers/Application/ApplicationHandler.cs
#	src/Core/src/Platform/iOS/LabelExtensions.cs
#	src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt
#	src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs
#	src/Essentials/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Essentials/src/WebAuthenticator/WebAuthenticator.ios.tvos.cs
2024-09-19 01:15:51 +08:00
TJ Lambert 68f6e4be97
Re-able the Localization steps and add new credentials (#24629) 2024-09-09 11:21:47 +01:00
Matthew Leibowitz 9729b02c1a
Split template tests into parallel jobs (#24080) 2024-08-08 16:50:39 +08:00
Rui Marinho 5d7d5ba814 Merge branch 'main' into merge-main-net9
# Conflicts:
#	src/Controls/src/Xaml/Hosting/AppHostBuilderExtensions.cs
2024-07-26 14:57:26 +01:00
Rui Marinho fe62f1ddb6
[ci] Allow to set the agents for template build (#23849) 2024-07-26 13:52:49 +01:00
Shane Neuville 9dcd338922 Merge branch 'main' into merge-main-net9
# Conflicts:
#	eng/pipelines/handlers.yml
#	src/Controls/src/Core/Binding.cs
#	src/Controls/src/Xaml/MarkupExtensions/BindingExtension.cs
#	src/Controls/src/Xaml/XamlServiceProvider.cs
2024-07-22 17:12:01 -05:00
Rui Marinho 16600a61a9
[ci] Update pool (#23759)
* [ci] Update pool

* [ci] Remove old stuff
2024-07-22 18:59:49 +01:00
Rui Marinho 54d210b3a6
[CI] Bump xcode 15.4.0 (#22611)
* [ios] Bump xcode 15.3.0

* Move to sonoma and XCode 15.4.0

Move uitests to Sonoma too

Fix pack

Move to macOS-14

Move also device tests catalyst

try use azure pipelines

Dont use azure pipelines

[ios] Move to XCode 15.4

Can android run on sonoma only

Try not cleanup on iOS Azure pipelines

Try again skip cleanup

Fix

Need to provision the certs

Fix

Fix
2024-07-17 00:39:07 +01:00
Rui Marinho 0f40202874 Merge branch 'main' into merge-main-net9 2024-05-29 23:23:02 +01:00
Rui Marinho 812807c5cb
[ci] Fix rev for version (#22716)
* [ci] Fix OfficialBuildId

* Just on pack
2024-05-29 23:21:56 +01:00
Rui Marinho 70e79deea0 Merge branch 'main' into merge-main-net9 2024-05-23 17:11:23 +01:00
Rui Marinho b16a118a8b
[ci] Disable OneLoc for now (#22595) 2024-05-23 11:46:42 +01:00
Matthew Leibowitz c507cd2a11
Fix handlers.yml syntax (#22557) 2024-05-22 04:04:32 +08:00
Rui Marinho dac317f739 Merge branch 'main' into merge-main-net9
# Conflicts:
#	GitInfo.txt
#	Microsoft.Maui.sln
#	eng/Version.Details.xml
#	eng/cake/dotnet.cake
#	eng/devices/android.cake
#	eng/devices/catalyst.cake
#	eng/devices/devices-shared.cake
#	eng/devices/ios.cake
#	src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Controls/tests/UITests/UITest.cs
#	src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs
#	src/Core/tests/UnitTests/Layouts/GridLayoutManagerTests.cs
#	src/DotNet/DotNet.csproj
2024-05-16 11:21:31 +01:00
Rui Marinho 396f7f77aa
[ci] Move to arcade , remove GitInfo and Mono dependencies (#21487)
* try add internal

* needs missing paths

* [arcade] Add arcade files

* Try build with arcade

* Update internal

* try other pool

* Update default image for sdl

* try same pool for pack

* Update arcade release

* Remove gitinfo and update global.jso

* update nuget

* try again

* More updates

* Dont sign

* Fix package icon

* Update Controls.Build.Tasks.csproj

* Update Controls.Build.Tasks.csproj

* need set versions

* tre

* Use ArtifactsBinDir

* new binaries folder

* isShiping true

* more cleanup

* add post build

* fix

* try official

* try again

* DebugType to portable ?

* use one versions

* Add publish_build_assets

* again

* again

* Wrap on arcade job

* again

* use self

* again

* try again

* dupe

* remove dupes

* add Build Config

* More variables

* push

* Fix merge

* update to find the path

* Update scripts

* Add build config

* Update android scripts

* Remove more xunit versions

* Update xunit

* Update versions

* update more

* try this

* Fix versions

* Remove the test sdk by default

* Can this be false?

* No need to reference xunit.runner.visualstudio

* IsTestProject to false

* Fix more device tests paths

* Assembly should be 1.0

* Try fix msbuild tests

* Fix file version test

* Fix some culture tests

* try fix restore for next step

* Disable fileversion test

* Fix androidtests

* Fix android app finding

* Fix

* maybe this way it lauches

* Try compat

* Fix versions

* Fix image tests

* Try without this

* Fix build

* Update windows.cake

* Update windows.cake

* Update windows.cake

* Update provisioning.csx

* remove reference test sdk

* remove extra

* try fix compat uitests

* Fix build

* build control gallery uitest with dotnet test

* Remove nunit console

* Fix pushing test results for compat tests

* Set correct property msbuild props

* Update arcade

* Update Directory.Build.props

* Update Version.Details.xml

* Fix logs artifacts

* update source gen tests

* Use PackageIconFullPath so Arcade adds our file

* Remove file not used

* [ci] Push rollback for branch name

* Add Compatibility.UnitTests to sln

* Update dotnet.cake

* Update AssemblyInfoTests.cs

* Update pack.yml

* Remove extra files

* Update Microsoft.Maui.sln

* Update Microsoft.Maui-dev.sln

* Update pipeline

* Fix internal

* Try new catalyst cleanup

* Update catalyst

* Update iOS cake

* Fix Cg-gallery on iOS

* try again

* Refactor android cake

* Fix catalyst not finding the app

* Make sure to handle results all platforms

* Fix naming and test results

---------

Co-authored-by: Rui Marinho <ruimarinho@MSFT-M3-PRO.ihome>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-05-07 13:49:39 +01:00
Rui Marinho 8f996ad4fb
Merge branch 'main' into merge-main-net9
# Conflicts:
#	eng/pipelines/common/variables.yml
2024-03-01 09:35:57 +00:00
Rui Marinho 6aaeb44a12
[ci] Enable 1ES PT (#20728)
* [ci] Enable 1ES

Try no pool

Extend

Add pool

try again

Use additional artifacts

try again

additionartifacts parameters

again

again

Publish artifact

Update

other target path

Try new image

Use image prop

try again

update path

try artifactsPath

missing s

Update internal

Spot bugs

Fix place

enable sign

Fix identation

Fix sign

again

Try do insertion

try again

again

use parameters

again

does this one works

Clean

ufff

Try fix sdk insertion

try insertion

Fix variables

try again

remove copy paste

fix supress

sourceRepositoriesToScan

nuget-signed

add insertion

Fix msi

fix sourceanalyst

fix pool

Add suppressionsFile for credScan

Fix variable name

Add SetupNugetSources.ps1 to CredScan supression

Cleanup

Add parameters.

Fix setup

if we fix it don't ignore it

Fix internal

try move binaries outside nuget

Push artifacs on i1esp

Disable loc

try other pool

Fix reference

try add apiscan and compliance

Try again

Only binaries for scan on windows

fix path

use @self

cleanup

fix

use old way on handlers

Fix pack

[ci] On Maui we can run less

try gndusupress

Don't use crescan suppressionsFile

* More updates

* [ci] Policheck by default with 1ES

* Update sdk-insertion.yml
2024-03-01 09:31:13 +00:00
Rui Marinho ac94038256
Merge branch 'main' into main-net9 2024-02-16 16:21:43 +00:00
Rui Marinho d65a52a8eb
[ci] Remove Agent.OSVersion from demands (#20641) 2024-02-16 16:06:16 +00:00
Rui Marinho c4f3c80f71
Merge branch 'main' into net9-with-main
# Conflicts:
#	GitInfo.txt
#	eng/Version.Details.xml
#	eng/pipelines/handlers.yml
#	src/Core/src/Fonts/EmbeddedFontLoader.iOS.cs
2024-02-09 23:16:20 +00:00
Rui Marinho 792f1f88e5
[ci] Don't AzurePipelines for uitest templates (#20436) 2024-02-08 22:21:53 +00:00
Rui Marinho a6c081d4aa Merge branch 'main' into fix-net9-ci 2024-02-05 14:37:00 +00:00
Rui Marinho 9c03adcef4
[release/9.0.1xx preview1] Update with preview1 changes (#20321)
* Update versions

* Update Versions.props

* Update versions

* Update Versions.props

* Update Versions.props

* Fix ios versions

* Update versions of Tizen

* Update iOS

* Update Version.Details.xml

* Update Versions.props

* Update versions again

* Update sdk

* Dont build net8

* Add loging

* skip this one and see

* [ci] Push artifacts for the sample tests (#20269)

* [ci] Always publish the artifacts

* remove verbosity

* Enable stable branding

* NativeAOT: Update NativeAOT integration tests to run with 9.0.1xx-preview1 (#20268)

* Align expected NativeAOT build warning messages in integration tests

* Do not treat NativeAOT build warnings as errors - introduced with https://github.com/dotnet/runtime/pull/96567

* [release/9.0.1xx-preview1] Update versions (#20279)

* Update versions

* Ignore blazor tests on old webview

* [release/9.0.1xx-preview1]  Revert "Dont build net8" (#20286)

* Revert "Dont build net8"

This reverts commit 4d59c640e6.

* Update versions

* Update Compatibility.csproj

* Update versions

* Update dotnet.cake

Update dotnet.cake

Set env variables before build  device tests

Update DotnetInternal.cs

Update dotnet.cake

* Don't build template tests again

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Ivan Povazan <55002338+ivanpovazan@users.noreply.github.com>
2024-02-05 14:32:49 +00:00
Rui Marinho 74fbfcbabd
Use fixed version for apiscan (#20226) 2024-01-29 17:55:07 +00:00
Rui Marinho 75a005dc34
Merge branch 'main' into merge-main-net9
# Conflicts:
#	eng/Version.Details.xml
#	eng/Versions.props
2024-01-04 19:03:20 +00:00
Rui Marinho d4a100c224
[ci] Move to new compliance task (#19475)
* Try security/full/v1.yml

* try again

* Fix

* Try again only dll

* Disable for now

* Only on windows

* try binskim again

* Try skip provisioning

* Add logging

* Missing semicolumn

* Update glob

* Fix glob

* Update provisioning file

* We don't need vs anymore

* try exclude

* Need to provision api

* Try exclude

* Fixes for compliance

* Update handlers.yml

* Create PoliCheck.Exclusions.xml

* Update PoliCheck.Exclusions.xml

* Try again

* Exclusions please work

* Fix name

* Try one element

* Rename source.gdnsuppress.json to source.gdnsuppress

* Update handlers.yml

* Update source.gdnsuppress

* Enable api scan

* Update handlers.yml

* Update handlers.yml

* Update handlers.yml

* Update handlers.yml

* Update source.gdnsuppress

* Run on nightly or on demand

* Update handlers.yml

* Update handlers.yml

* Just a little more cleanup
2023-12-20 10:58:15 +00:00
Rui Marinho d0ece1538c Move maui to net9.0 2023-11-28 14:41:17 +00:00
Matthew Leibowitz 25d8d05562 Merge remote-tracking branch 'origin/net8.0' into dev/merge-net8.0-into-main 2023-11-08 04:45:51 +02:00
Rui Marinho c252acace6
Revert new packages names for iOS (#17980) 2023-10-17 12:57:00 +02:00
Matthew Leibowitz c8ba4780c0
Merge `net8.0` into `main` (#17906)
### Description of Change

Now that we're on the GA run, we are no longer merging main back to
NET8.

The Main branch represents SR1 fixes. 

This will also let users more easily test PRs since they will now target
net8.
2023-10-12 17:58:36 +02:00
Matthew Leibowitz faa7d8a052
Use Cake for running integration tests (#17964) 2023-10-11 18:25:49 -05:00
Rui Marinho 1b8128e291
Merge branch 'main' into merge-net8-main
# Conflicts:
#	eng/devices/ios.cake
#	eng/pipelines/common/device-tests.yml
#	eng/pipelines/common/provision.yml
#	eng/pipelines/device-tests.yml
#	eng/provisioning/provisioning.csx
#	src/BlazorWebView/tests/MauiDeviceTests/Elements/BlazorWebViewTests.cs
2023-08-03 18:21:53 +01:00
Rui Marinho 4d2e639817
[testing] Make test by default on 16.4 (#16479)
* [net8.0] Don't move to use arm yet here

* Pin to use iOS 16.4 by default
2023-08-03 13:10:24 -04:00
Rui Marinho 51e2fbee7a
Merge branch 'main' net8.0
# Conflicts:
#	eng/AndroidX.targets
#	eng/Versions.props
2023-06-26 12:29:12 +01:00
Manuel de la Pena 45a69aa8dc
[CI] Move away from template parameters to help moving to a matrix strategy. (#15761)
We are tyring to minimize the size of the yaml so that we get to a point
in which we can have all templates in a single pipeline. To do so, we
can move to use matrix strategies that minimize the size of the
generated code, but this comes at a price.

One of the issues with using a matrix strategy is that it gets expanded
at runtime, but not at compile time. That results in a problem, which is
that templates need to know all its parameters at COMPILE time. This
supposes a problem when using the provision tempalte, because we cannot
expand the matrix at compile time. We can fix that using conditions at
runtime. The side effect of this is that there are going to be more
steps in the pipeline that get skipped, yet it is a small price to pay
for the final goal.
2023-06-21 11:07:54 +01:00
Rui Marinho 053197c005
Compliance only on devdiv (#15356) 2023-06-01 00:31:55 +00:00
github-actions[bot] 847c13dc71
Compliance only on devdiv (#15360) 2023-05-31 20:09:49 +00:00
Rui Marinho b34fad422e
Move main to use macOS Ventura machines (#14901) 2023-05-03 11:52:15 +01:00
dotnet-maestro[bot] 3bc619b441
[net8.0] Update dependencies from xamarin/xamarin-macios (#14431)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.1

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.2.8519-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.1

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.1.9307-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.1

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.2.8519-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.1

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.1.8519-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.7

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8244-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.7

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.4.8244-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.7

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8244-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230406.7

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.3.8244-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230407.6

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8249-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230407.6

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.4.8249-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230407.6

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8249-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230407.6

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.3.8249-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230410.19

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.4.8254-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230410.19

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8254-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230410.19

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8254-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230410.19

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.3.8254-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230412.6

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8255-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230412.6

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.4.8255-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230412.6

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8255-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230412.6

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.3.8255-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230413.6

Microsoft.iOS.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8275-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230413.6

Microsoft.tvOS.Sdk
 From Version 16.1.9306-net8-p4 -> To Version 16.4.8275-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230413.6

Microsoft.MacCatalyst.Sdk
 From Version 16.2.8518-net8-p4 -> To Version 16.4.8275-net8-p4

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20230413.6

Microsoft.macOS.Sdk
 From Version 13.1.8518-net8-p4 -> To Version 13.3.8275-net8-p4

* Fixes to run Ventura and XCode 14.3

* Test templates with ventura

* Update maui-templates.yml

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2023-05-02 15:06:38 +02:00
Matthew Leibowitz beab4dc409 Merge remote-tracking branch 'origin/main' into dev/merge-main-into-net8
# Conflicts:
#	eng/Versions.props
#	src/Core/src/Platform/Android/Resource.designer.cs
2023-04-21 00:59:20 +07:00
Peter Collins 7bd7d0df7e
[Tests] Move sample build test to IntegrationTests (#14499)
Moves the `Microsoft.Maui.Samples.slnf` build tests into the
IntegrationTests project.  This should improve test result visibility
and debugging efforts in Azure Pipelines.  The pipeline yaml has also
been simplified by replacing the project configuration parameter with a
test attribute.
2023-04-18 14:16:47 +01:00
Peter Collins 60bcb8291f
Merge main into net8.0 (#14170)
* [create-pull-request] automated change (#14151)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>

* [Android] Fix controls RTL issues (#13672)

* Fix Android Picker RTL issues

* More changes

* Auto-format source code

---------

Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>

* Run templates on Android and iOS (#13662)

Introduces a new Microsoft.Maui.IntegrationTests project to serve as
a runner for the template tests, and any future integration tests that
build or deploy a MAUI project.

This should simplify test parameters for the template tests by moving
parameter "generation" out of yaml/cake and into test method attributes.

Failure debugging should also be improved dramatically by these changes.
Individual template failures will now be easier to spot as each test
configuration will produce a test result that is uploaded to the Azure
Pipelines test tab. These new test results will also contain isolated
logs and attachments for binlogs and other files that can be directly
downloaded on a per-test basis.

Template running is driven by xharness. On Android an Instrumentation
class that launches the main Activity is added to the template
before it is installed. On iOS we wait for the launch command to time
out, as an app crash will cause xharness to return early.

* Update template tests to use net8.0

* [Housekeeping] Added Gallery sample to validate that colors changes from Converters (#14161)

* Added sample to the gallery to validate that colors changes from Converter

* Update src/Controls/samples/Controls.Sample/Converters/BoolToCustomValueConverter.cs

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>

---------

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>

* [Essentials] Remove lock from SecureStorage (#13940)

Removes the lock from SecureStorage usage on Android, and marks GetAsync
and SetAsync as async methods.  This should reduce the likelyhood of
synchronization issues when using SecureStorage from other async code.

The [EncryptedSharedPreferences][0] class provides a thin implementation
of [SharedPreferences][1], which contains locking / data access
synchronization logic.

Rather than creating a `SharedPreferences` instance for every operation,
we will now reuse the first instance that is created.

[0]: https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences
[1]: https://android.googlesource.com/platform/frameworks/base.git/+/master/core/java/android/app/SharedPreferencesImpl.java

* Make sure that we have valid values for setting the ContentSize of the ScrollView on iOS (#14176)

* [iOS] Don't set constrains for orientation if they are 0

* Simplify the ContentSize/Orientation stuff a bit and add comments

* Auto-format source code

---------

Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>

* Always print template creation output

* Bump template creation timeout

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com>
2023-03-26 17:32:49 +02:00
Peter Collins 30b141c913
Run templates on Android and iOS (#13662)
Introduces a new Microsoft.Maui.IntegrationTests project to serve as
a runner for the template tests, and any future integration tests that
build or deploy a MAUI project.

This should simplify test parameters for the template tests by moving
parameter "generation" out of yaml/cake and into test method attributes.

Failure debugging should also be improved dramatically by these changes.
Individual template failures will now be easier to spot as each test
configuration will produce a test result that is uploaded to the Azure
Pipelines test tab. These new test results will also contain isolated
logs and attachments for binlogs and other files that can be directly
downloaded on a per-test basis.

Template running is driven by xharness. On Android an Instrumentation
class that launches the main Activity is added to the template
before it is installed. On iOS we wait for the launch command to time
out, as an app crash will cause xharness to return early.
2023-03-23 13:21:28 -04:00