-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #884 from unoplatform/dev/jela/net9
.NET 9 Support
- Loading branch information
Showing
300 changed files
with
27,320 additions
and
43,212 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ on: | |
jobs: | ||
build_and_deploy_job: | ||
env: | ||
DIST_PATH: src/Uno.Wasm.Sample.RayTracer/bin/Release/net6.0/publish/wwwroot | ||
DIST_PATH: src/Uno.Wasm.Sample.RayTracer/bin/Release/net9.0/publish/wwwroot | ||
|
||
if: (github.event_name == 'pull_request' && github.event.action != 'closed') | ||
runs-on: ubuntu-latest | ||
|
@@ -38,15 +38,34 @@ jobs: | |
useConfigFile: true | ||
configFilePath: gitversion.yml | ||
|
||
- name: Setup dotnet 8.0.100 | ||
# Daily builds install | ||
# - run: | | ||
# wget https://dot.net/v1/dotnet-install.sh | ||
# chmod +x dotnet-install.sh | ||
# ./dotnet-install.sh -c 9.0 -q daily | ||
# echo ~/.dotnet >> $GITHUB_PATH | ||
# | ||
# name: Setup .NET | ||
# | ||
|
||
- name: Setup .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '8.0.100' | ||
dotnet-version: '9.0.100-rc.1.24452.12' | ||
include-prerelease: true | ||
|
||
- run: | | ||
cd src | ||
dotnet workload install wasm-tools | ||
name: Setup Workloads | ||
- run: | | ||
dotnet build -c Release src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj /bl:./artifacts-logs/build.binlog | ||
name: Build Bootstrap | ||
- run: | | ||
dotnet publish -c Release /p:DISABLE_CLIHOST_NET6=true src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj /bl:./artifacts-logs/build.binlog | ||
dotnet publish -c Release /p:DISABLE_CLIHOST_NET6=true src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj /bl:./artifacts-logs/build-sample.binlog | ||
dotnet publish -c Release src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj /bl:./artifacts-logs/build-sample.binlog | ||
name: Build WebAssembly app | ||
- uses: actions/upload-artifact@v4 | ||
|
@@ -55,6 +74,7 @@ jobs: | |
path: ${{ env.DIST_PATH }} | ||
|
||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: logs | ||
path: artifacts-logs | ||
|
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 |
---|---|---|
|
@@ -54,4 +54,3 @@ stages: | |
parameters: | ||
jobName: macOS_Tests | ||
vmImage: macOS-12 | ||
- template: build/ci/stage-build-wsl-tests.yml |
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,59 @@ | ||
The Uno Platform uses third-party libraries and resources that may be | ||
distributed under licenses different from the Uno Platform software. | ||
|
||
In the event of accidental failure to list a required notice, please | ||
bring it to our attention. Post an issue at : | ||
|
||
https://github.com/unoplatform/uno/issues | ||
|
||
The attached notices are provided for information only. | ||
|
||
License notice for .NET Core | ||
---------------------------- | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) .NET Foundation and Contributors | ||
|
||
All rights reserved. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
License notice for ProtoBufJsonConverter | ||
---------------------------- | ||
|
||
Copyright(c) 2023 Stef Heyenrath | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
|
@@ -205,6 +205,6 @@ | |
"Multi-line code blocks" | ||
], | ||
"ignorePaths": [ | ||
"../doc/index.md" | ||
"../doc/index.md", | ||
] | ||
} |
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,10 +1,40 @@ | ||
parameters: | ||
DotNetVersion: '7.0.200' | ||
DotNetVersion: '9.0.100-rc.1.24452.12' | ||
|
||
steps: | ||
|
||
- task: UseDotNet@2 | ||
displayName: 'Use .NET 6 SDK' | ||
displayName: 'Use .NET SDK' | ||
inputs: | ||
version: ${{ parameters.DotNetVersion }} | ||
includePreviewVersions: true | ||
|
||
# Daily builds install | ||
# - pwsh: | | ||
# $DotNetRoot = "C:\hostedtoolcache\windows\dotnet" | ||
# Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1" | ||
# & ./build/installcli.ps1 -c 9.0 -q daily -InstallDir $DotNetRoot | ||
|
||
# condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' )) | ||
# displayName: 'Setup .NET (Windows)' | ||
|
||
# - pwsh: | | ||
# wget https://dot.net/v1/dotnet-install.sh | ||
# chmod +x dotnet-install.sh | ||
# ./dotnet-install.sh -c 9.0 -q daily | ||
# echo "[task.setvariable variable=PATH;]${env:PATH}:$env:HOME/.dotnet" | ||
# echo "[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet" | ||
|
||
# echo "##vso[task.setvariable variable=PATH;]$env:HOME/.dotnet:${env:PATH}" | ||
# echo "##vso[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet" | ||
|
||
# condition: and(succeeded(), ne( variables['Agent.OS'], 'Windows_NT' )) | ||
# displayName: 'Setup .NET (Linux/macOS)' | ||
|
||
- pwsh: | | ||
cd src | ||
dotnet --version | ||
dotnet --list-sdks | ||
dotnet workload install wasm-tools | ||
displayName: Setup Workloads |
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.