build content as well when testing

This commit is contained in:
Ell 2023-12-21 17:50:44 +01:00
parent a10689e3bb
commit 379b3b016d
2 changed files with 7 additions and 5 deletions

View file

@ -6,4 +6,5 @@
test:
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- dotnet run --project Contentless Test/Content/Content.mgcb
- dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj
- dotnet build Test

View file

@ -1,15 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<MonoGamePlatform>DesktopGL</MonoGamePlatform>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Extended.Content.Pipeline" Version="3.8.0" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.1.303" />
</ItemGroup>
<ItemGroup>
<None Remove="Content\Content.mgcb" />
<MonoGameContentReference Include="Content\Content.mgcb" />
</ItemGroup>