Skip to content

Commit

Permalink
Add .NET 9 to CI
Browse files Browse the repository at this point in the history
Test the in-development .NET 9 RPM as a way to find out how well
dotnet-regular-tests are working against .NET 9.
  • Loading branch information
omajid committed Jun 20, 2024
1 parent aae405c commit f5b2f15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
dotnet_version:
- "6.0"
- "8.0"
include:
- container_image: registry.fedoraproject.org/fedora:40
dotnet_version: "9.0"

container:
image: ${{ matrix.container_image }}
Expand All @@ -44,6 +47,10 @@ jobs:
set -euo pipefail
cat /etc/os-release
if grep fedora /etc/os-release ; then
if [[ ${{ matrix.dotnet_version }} == 9.* ]]; then
dnf install 'dnf-command(copr)' -y
dnf copr enable @dotnet-sig/dotnet-preview -y
fi
dnf install -y dotnet-sdk-${{ matrix.dotnet_version }}
if [[ ! ${{ matrix.dotnet_version }} == *6* ]]; then
dnf install -y \
Expand Down

0 comments on commit f5b2f15

Please sign in to comment.