Skip to content

Commit

Permalink
CI: Configure .NET SDK 8.0.100 to test min supported version
Browse files Browse the repository at this point in the history
This is the current LTS and our minimum supported version,
so make sure that it builds fine.
  • Loading branch information
akien-mga committed Dec 17, 2024
1 parent 4364ed6 commit cabf61b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ jobs:
python-version: 3.8
scons-version: 4.0

- name: Setup older .NET SDK as baseline
if: matrix.build-mono
uses: actions/setup-dotnet@v4
with:
# Targeting the oldest version we want to support to ensure it still builds.
dotnet-version: '8.0.100'

- name: Configure older .NET SDK version as the global version
if: matrix.build-mono
run: |
echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}", "rollForward": "disable"}}' > modules/mono/global.json
- name: Compilation
uses: ./.github/actions/godot-build
with:
Expand All @@ -163,6 +175,7 @@ jobs:
- name: Build .NET solutions
if: matrix.build-mono
run: |
dotnet --info
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
- name: Prepare artifact
Expand Down

0 comments on commit cabf61b

Please sign in to comment.