-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.0.1xx] Build arcade net9 on GA branch (#25336)
* Work on UI tests * Fix api scan * Revert "Update windows samples" (#25059) This reverts commit 05fdf09. * [net9] Try fix running UITests on iOS18 (#25070) * [housekeeping] Update & Consolidate Appium + driver versions (#24817) * Update appium + driver versions Updating to latest * Move appium versions to eng/Versions.props * Fix ps1 get-location * Check if appium is completely missing too No need to attempt to uninstall appium if it's not installed * - bump versions * - fix script --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> * Try iOS18 device * See if this works * Try xs --------- Co-authored-by: Jonathan Dick <jodick@microsoft.com> Co-authored-by: Shane Neuville <shneuvil@microsoft.com> * Update latest stuff of arcade (#25086) * Remove Drag and Drop Tests from Catalyst (#25039) * try * try again * Try more build * Fix snupkg * try publish * fix depends * fix * Fix signing * Fix condition * try without this * Try install workloads * add catalyst * Try install .dotnet * Skip install .net * Nowarn * Set java home * try sign * sign dll * dix * more variables * try other * fix * Remove pool changes * Fix path * dotnet * remvoe restore * Again * Try bump arcade * TreatWarningsAsErrors * will this work * Try -warnAsError 0 * again * extra nowarn * Fix variable * Fix _BuildOfficalId * Fix signing * Update arcade * Don t push this * Dont update build number * Add back cake script * Add nuget.config again * Clean signing * try these feeds * less premissions * Try this * Try fix the bin folder * Fix nuget config * Use DotNetTempDirectory for the script * Fix device tests * Add missing variable * We need this * Try this * try this * Add public pipeline * Fix cake * Fix tool * Fix device * try workloads * try fix test * fix sign * more quick * needs t build * Fix windows script * Try workloads * fix location * fix * Try with this * try fix paths * try this again * try use the latest tooling * Revert "try use the latest tooling" This reverts commit 1b337f8. * Update variables.yml * Update DotnetInternal.cs * More fixes * Update build-test-pack.yml * Update latest arcade * Remove package source mapping * Update windows.cake * Update windows.cake * Update global.json * Try _SkipUpdateBuildNumber * again * Update variables.yml * Again * Include this * Update vsmanproj * Nove to arcade ne9 * Dont build workloads * Update global.json * Update Versions.props * Try rtm ios * try windows again * Fix folder for dotnet location * Update windows.cake * Update Compatibility.ControlGallery.WinUI.csproj * [ci] Try skip install android stuff on handlers build (#25293) --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Jonathan Dick <jodick@microsoft.com>
- Loading branch information
1 parent
c69c921
commit 0fe75c3
Showing
41 changed files
with
1,377 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
PowerShell -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; try { & '%~dp0build.ps1' %*; exit $LASTEXITCODE } catch { write-host $_; exit 1 }" | ||
SET exit_code=%ERRORLEVEL% | ||
ECHO build.cmd completed | ||
EXIT /b %exit_code% | ||
@echo off | ||
setlocal | ||
|
||
set _args=%* | ||
if "%~1"=="-?" set _args=-help | ||
if "%~1"=="/?" set _args=-help | ||
|
||
powershell -ExecutionPolicy ByPass -NoProfile -Command "& '%~dp0eng\build.ps1'" %_args% | ||
exit /b %ERRORLEVEL% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# script inspired by https://andrewlock.net/simplifying-the-cake-global-tool-bootstrapper-scripts-in-netcore3-with-local-tools/ | ||
source="${BASH_SOURCE[0]}" | ||
|
||
# Define default arguments. | ||
SCRIPT="build.cake" | ||
CAKE_ARGUMENTS=() | ||
# resolve $SOURCE until the file is no longer a symlink | ||
while [[ -h $source ]]; do | ||
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
source="$(readlink "$source")" | ||
|
||
# Parse arguments. | ||
for i in "$@"; do | ||
case $1 in | ||
-s|--script) SCRIPT="$2"; shift ;; | ||
--) shift; CAKE_ARGUMENTS+=("$@"); break ;; | ||
*) CAKE_ARGUMENTS+=("$1") ;; | ||
esac | ||
shift | ||
# if $source was a relative symlink, we need to resolve it relative to the path where the | ||
# symlink file was located | ||
[[ $source != /* ]] && source="$scriptroot/$source" | ||
done | ||
|
||
# Restore Cake tool | ||
dotnet tool restore | ||
|
||
if [ $? -ne 0 ]; then | ||
echo "An error occurred while installing Cake." | ||
exit 1 | ||
fi | ||
|
||
echo "${CAKE_ARGUMENTS[@]}" | ||
|
||
# Start Cake | ||
dotnet tool run dotnet-cake "$SCRIPT" "${CAKE_ARGUMENTS[@]}" | ||
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
"$scriptroot/eng/build.sh" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<ProjectToBuild Include="$(RepoRoot)Microsoft.Maui.BuildTasks.slnf" /> | ||
<ProjectToBuild Include="$(RepoRoot)Microsoft.Maui.Packages-mac.slnf" Condition="'$(OS)' != 'Windows_NT'" /> | ||
<ProjectToBuild Include="$(RepoRoot)Microsoft.Maui.Packages.slnf" Condition="'$(OS)' == 'Windows_NT'" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<PublishingVersion>3</PublishingVersion> | ||
<ProducesDotNetReleaseShippingAssets>true</ProducesDotNetReleaseShippingAssets> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,26 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- | ||
Windows arm/arm64 jobs don't have MSIs to sign. Keep it simple: allow not finding any matches | ||
here and rely on overall signing validation. | ||
--> | ||
<AllowEmptySignList Condition="'$(SignFinalPackages)' != 'true'">true</AllowEmptySignList> | ||
<UseDotNetCertificate>true</UseDotNetCertificate> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<FileExtensionSignInfo Update=".nupkg" CertificateName="NuGet" /> | ||
<FileExtensionSignInfo Update=".zip" CertificateName="None" /> | ||
<FileExtensionSignInfo Include=".msi" CertificateName="MicrosoftDotNet500" /> | ||
</ItemGroup> | ||
|
||
<!-- <ItemGroup> | ||
<!-- | ||
Replace the default items to sign with the specific set we want. | ||
--> | ||
<ItemsToSign Remove="@(ItemsToSign)" /> | ||
<ItemsToSignPostBuild Remove="@(ItemsToSignPostBuild)" /> | ||
<ItemGroup Label="Third Party Assemblies"> | ||
<FileSignInfo Include="GMap.NET.Core.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="GMap.NET.GTK.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="webkit-sharp.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Mono.Cecil.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Mono.Cecil.Mdb.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Mono.Cecil.Pdb.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Mono.Cecil.Rocks.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Svg.Skia.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Svg.Custom.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Svg.Model.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="ShimSkiaSharp.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Fizzler.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="ExCSS.dll" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="Newtonsoft.Json.dll" CertificateName="3PartySHA2" /> | ||
|
||
<!-- apphost and comhost template files are not signed, by design. --> | ||
<FileSignInfo Include="apphost.exe;comhost.dll" CertificateName="None" /> | ||
|
||
<FileExtensionSignInfo Include=".msi" CertificateName="MicrosoftDotNet500" /> | ||
<FileExtensionSignInfo Include=".pkg" CertificateName="8003" /> | ||
<FileExtensionSignInfo Include=".deb;.rpm" CertificateName="LinuxSign" /> | ||
<FileSignInfo Include="OpenSans-Regular.ttf" CertificateName="3PartySHA2" /> | ||
<FileSignInfo Include="OpenSans-Semibold.ttf" CertificateName="3PartySHA2" /> | ||
</ItemGroup> | ||
|
||
<!-- This repo signs everything, including installers, either right before doing the PushToAzureDevOpsArtifacts, | ||
or in post-build. Populate what will get signed the same in both cases --> | ||
<ItemGroup Condition="'$(PrepareArtifacts)' == 'true'"> | ||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.msi" /> | ||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.exe" /> | ||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.nupkg" /> | ||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.zip" /> | ||
|
||
<ItemsToSignWithoutPaths Include="@(ItemsToSignWithPaths->'%(Filename)%(Extension)')" /> | ||
<ItemsToSignPostBuild Include="@(ItemsToSignWithoutPaths->Distinct())" Condition="'$(PostBuildSign)' == 'true'" /> | ||
<ItemsToSign Include="@(ItemsToSignWithPaths->Distinct())" Condition="'$(PostBuildSign)' != 'true'" /> | ||
</ItemGroup> --> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Target Name="InitInternalTooling" AfterTargets="Restore"> | ||
<Message Text="Installing the workloads" Importance="high" /> | ||
|
||
<!-- <MSBuild Projects="$(RepoRoot)src/DotNet/DotNet.csproj" | ||
Targets="Build" /> --> | ||
<Exec | ||
Command="dotnet build $(RepoRoot)src/DotNet/DotNet.csproj -p:InstallDotNet=false" | ||
WorkingDirectory="$(RepoRoot)" | ||
EnvironmentVariables="DOTNET_MULTILEVEL_LOOKUP=0" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.