mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-07-08 18:06:08 +00:00
.NET 10 support
This commit is contained in:
committed by
Frederik Carlier
parent
dfc9ddeae2
commit
330216e4a5
@@ -37,12 +37,15 @@ resources:
|
|||||||
image: mcr.microsoft.com/dotnet/sdk:9.0-noble
|
image: mcr.microsoft.com/dotnet/sdk:9.0-noble
|
||||||
- container: 9.0-nanoserver
|
- container: 9.0-nanoserver
|
||||||
image: mcr.microsoft.com/dotnet/sdk:9.0-nanoserver-1809
|
image: mcr.microsoft.com/dotnet/sdk:9.0-nanoserver-1809
|
||||||
|
- container: 10.0-noble
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:10.0-noble
|
||||||
|
- container: 10.0-nanoserver
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:10.0-nanoserver-ltsc2025
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
jobs:
|
jobs:
|
||||||
- job: build_noble
|
- job: build_noble
|
||||||
container: 9.0-noble
|
container: 10.0-noble
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-22.04
|
vmImage: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
@@ -67,7 +70,7 @@ stages:
|
|||||||
- job: build_windows
|
- job: build_windows
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2019
|
vmImage: windows-2019
|
||||||
container: 9.0-nanoserver
|
container: 10.0-nanoserver-ltsc2025
|
||||||
# Make sure we can run scripts in PowerShell core:
|
# Make sure we can run scripts in PowerShell core:
|
||||||
# https://github.com/microsoft/azure-pipelines-tasks/issues/11448
|
# https://github.com/microsoft/azure-pipelines-tasks/issues/11448
|
||||||
variables:
|
variables:
|
||||||
@@ -206,6 +209,18 @@ stages:
|
|||||||
container: 9.0-noble
|
container: 9.0-noble
|
||||||
command: tarball
|
command: tarball
|
||||||
|
|
||||||
|
10.0-noble-deb:
|
||||||
|
container: 10.0-noble
|
||||||
|
command: deb
|
||||||
|
10.0-noble-rpm:
|
||||||
|
container: 10.0-noble
|
||||||
|
command: rpm
|
||||||
|
10.0-noble-zip:
|
||||||
|
container: 10.0-noble
|
||||||
|
command: zip
|
||||||
|
10.0-noble-tarball:
|
||||||
|
container: 10.0-noble
|
||||||
|
command: tarball
|
||||||
container: $[ variables['container'] ]
|
container: $[ variables['container'] ]
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-22.04
|
vmImage: ubuntu-22.04
|
||||||
@@ -259,12 +274,19 @@ stages:
|
|||||||
framework-dependent-app-9_0:
|
framework-dependent-app-9_0:
|
||||||
suite: framework-dependent
|
suite: framework-dependent
|
||||||
framework: net9.0
|
framework: net9.0
|
||||||
|
|
||||||
|
self-contained-10_0:
|
||||||
|
suite: self-contained
|
||||||
|
framework: net10.0
|
||||||
|
framework-dependent-app-10_0:
|
||||||
|
suite: framework-dependent
|
||||||
|
framework: net10.0
|
||||||
steps:
|
steps:
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: 'Use .NET Core 9.0'
|
displayName: 'Use .NET Core 10.0'
|
||||||
inputs:
|
inputs:
|
||||||
packageType: sdk
|
packageType: sdk
|
||||||
version: 9.0.x
|
version: 10.0.x
|
||||||
- bash: |
|
- bash: |
|
||||||
set -e
|
set -e
|
||||||
export PATH=~/.local/bin/:$PATH
|
export PATH=~/.local/bin/:$PATH
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: mcr.microsoft.com/dotnet/sdk:9.0-noble-arm64v8
|
image: mcr.microsoft.com/dotnet/sdk:10.0-noble-arm64v8
|
||||||
commands:
|
commands:
|
||||||
- dotnet test Packaging.Targets.Tests/Packaging.Targets.Tests.csproj
|
- dotnet test Packaging.Targets.Tests/Packaging.Targets.Tests.csproj
|
||||||
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -19,6 +19,7 @@ jobs:
|
|||||||
7.0.x
|
7.0.x
|
||||||
8.0.x
|
8.0.x
|
||||||
9.0.x
|
9.0.x
|
||||||
|
10.0.x
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -100,6 +100,10 @@
|
|||||||
<RpmDotNetDependency Include="dotnet-runtime-9.0" Version="" />
|
<RpmDotNetDependency Include="dotnet-runtime-9.0" Version="" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'@(RpmDotNetDependency)' == '' AND '$(RuntimeIdentifier)' == '' AND '$(TargetFramework)' == 'net10.0'">
|
||||||
|
<RpmDotNetDependency Include="dotnet-runtime-10.0" Version="" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'@(RpmDotNetDependency)' == '' AND '$(RuntimeIdentifier)' != ''">
|
<ItemGroup Condition="'@(RpmDotNetDependency)' == '' AND '$(RuntimeIdentifier)' != ''">
|
||||||
<RpmDotNetDependency Include="openssl-libs" Version="" />
|
<RpmDotNetDependency Include="openssl-libs" Version="" />
|
||||||
<RpmDotNetDependency Include="libicu" Version="" />
|
<RpmDotNetDependency Include="libicu" Version="" />
|
||||||
@@ -194,6 +198,10 @@
|
|||||||
<DebDotNetDependencies Include="dotnet-runtime-9.0"/>
|
<DebDotNetDependencies Include="dotnet-runtime-9.0"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'@(DebDotNetDependencies)' == '' AND '$(RuntimeIdentifier)' == '' AND '$(TargetFramework)' == 'net10.0'">
|
||||||
|
<DebDotNetDependencies Include="dotnet-runtime-10.0"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Dependency list for netcore3.1, updated to support Ubuntu 20.10/21.04 -->
|
<!-- Dependency list for netcore3.1, updated to support Ubuntu 20.10/21.04 -->
|
||||||
<ItemGroup Condition="'@(DebDotNetDependencies)' == '' AND '$(RuntimeIdentifier)' != ''">
|
<ItemGroup Condition="'@(DebDotNetDependencies)' == '' AND '$(RuntimeIdentifier)' != ''">
|
||||||
<DebDependencies Include="libc6"/>
|
<DebDependencies Include="libc6"/>
|
||||||
@@ -202,7 +210,7 @@
|
|||||||
<DebDependencies Include="libstdc++6"/>
|
<DebDependencies Include="libstdc++6"/>
|
||||||
<DebDependencies Include="zlib1g"/>
|
<DebDependencies Include="zlib1g"/>
|
||||||
<DebDependencies Include="libssl3 | libssl1.1 | libssl1.0.2 | libssl1.0.1 | libssl1.0.0 | libssl0.9.8"/>
|
<DebDependencies Include="libssl3 | libssl1.1 | libssl1.0.2 | libssl1.0.1 | libssl1.0.0 | libssl0.9.8"/>
|
||||||
<DebDependencies Include="libicu74 | libicu72 | libicu70 | libicu69 | libicu68 | libicu67 | libicu66 | libicu65 | libicu64 | libicu63 | libicu62 | libicu61 | libicu60 | libicu59 | libicu58 | libicu57 | libicu56 | libicu55 | libicu54 | libicu53 | libicu52"/>
|
<DebDependencies Include="libicu78 | libicu77 | libicu76 | libicu75 | libicu74 | libicu72 | libicu70 | libicu69 | libicu68 | libicu67 | libicu66 | libicu65 | libicu64 | libicu63 | libicu62 | libicu61 | libicu60 | libicu59 | libicu58 | libicu57 | libicu56 | libicu55 | libicu54 | libicu53 | libicu52"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(SkipDebDependencies)' == 'true'">
|
<ItemGroup Condition="'$(SkipDebDependencies)' == 'true'">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<PackageTags>dotnet cli packaging deb debian ubuntu mint installer</PackageTags>
|
<PackageTags>dotnet cli packaging deb debian ubuntu mint installer</PackageTags>
|
||||||
<Description>Create Debian and Ubuntu installers (.deb files ) of your .NET Core projects straight from the command line.
|
<Description>Create Debian and Ubuntu installers (.deb files ) of your .NET Core projects straight from the command line.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<PackageTags>dotnet cli packaging rpm package installer</PackageTags>
|
<PackageTags>dotnet cli packaging rpm package installer</PackageTags>
|
||||||
<Description>Create RPM packages (.rpm files) of your .NET Core projects straight from the command line.
|
<Description>Create RPM packages (.rpm files) of your .NET Core projects straight from the command line.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<PackageTags>dotnet cli packaging tarball tar.gz archive</PackageTags>
|
<PackageTags>dotnet cli packaging tarball tar.gz archive</PackageTags>
|
||||||
<Description>Create tarballs (.tar.gz files) of your .NET Core projects straight from the command line.
|
<Description>Create tarballs (.tar.gz files) of your .NET Core projects straight from the command line.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<PackageTags>dotnet cli packaging zip archive</PackageTags>
|
<PackageTags>dotnet cli packaging zip archive</PackageTags>
|
||||||
<Description>Create .zip files of your .NET Core projects straight from the command line.
|
<Description>Create .zip files of your .NET Core projects straight from the command line.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0,net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0,net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<RootNamespace>framework_dependent_app</RootNamespace>
|
<RootNamespace>framework_dependent_app</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0,net7.0;net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net6.0,net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
||||||
<RootNamespace>self_contained_app</RootNamespace>
|
<RootNamespace>self_contained_app</RootNamespace>
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user