Skip to content

Commit

Permalink
update buildspec to install .NET9
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Nov 11, 2024
1 parent e33a9e8 commit 4c71ea2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildtools/ci.buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ phases:
runtime-versions:
dotnet: 8.x
commands:
# The tests need .NET 3.1, 6 and 8. .NET6 is installed by default. .NET8 is added in the runtime-versions. .NET 3.1 is installed manually.
# Find and delete the global.json files that were added by CodeBuild. This causes issues when multiple SDKs are installed.
- find / -type f -name 'global.json' -delete
# The tests need .NET 3.1, 6, 8 and 9. .NET6 is installed by default. .NET8 is added in the runtime-versions. .NET 3.1 and 9 are installed manually.
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 9.0
build:
commands:
- dotnet msbuild buildtools/build.proj /t:unit-tests /p:Cicd=true
Expand Down

0 comments on commit 4c71ea2

Please sign in to comment.