You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
.NET: Downgrade Microsoft.CodeAnalysis.CSharp to 4.8.0 for compat with SDK 8.0.1xy
And for CI, set up .NET SDK 8.0.100 explicitly to test our min supported version.
This commit is contained in:
13
.github/workflows/linux_builds.yml
vendored
13
.github/workflows/linux_builds.yml
vendored
@@ -140,6 +140,18 @@ jobs:
|
|||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
scons-version: 4.0
|
scons-version: 4.0
|
||||||
|
|
||||||
|
- name: Force remove preinstalled .NET SDKs
|
||||||
|
if: matrix.build-mono
|
||||||
|
run: |
|
||||||
|
sudo rm -rf /usr/share/dotnet/sdk/*
|
||||||
|
|
||||||
|
- 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: Compilation
|
- name: Compilation
|
||||||
uses: ./.github/actions/godot-build
|
uses: ./.github/actions/godot-build
|
||||||
with:
|
with:
|
||||||
@@ -163,6 +175,7 @@ jobs:
|
|||||||
- name: Build .NET solutions
|
- name: Build .NET solutions
|
||||||
if: matrix.build-mono
|
if: matrix.build-mono
|
||||||
run: |
|
run: |
|
||||||
|
dotnet --info
|
||||||
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
|
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
|
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user