* 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
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
* [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
* [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
* 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
### 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.
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.
* 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>
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.
* [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>
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.