Revert "restore android workload when building"

This reverts commit 79f7206686.
This commit is contained in:
Ell 2022-07-25 18:38:23 +02:00
parent 79f7206686
commit 663d7148fe
2 changed files with 9 additions and 1 deletions

View File

@ -48,6 +48,15 @@ namespace Demos {
}
protected override void LoadContent() {
// TODO remove with MonoGame 3.8.1 https://github.com/MonoGame/MonoGame/issues/7298
#if !FNA
if (PlatformInfo.MonoGamePlatform == MonoGamePlatform.DesktopGL) {
this.GraphicsDeviceManager.PreferredBackBufferWidth = 1280;
this.GraphicsDeviceManager.PreferredBackBufferHeight = 720;
this.GraphicsDeviceManager.ApplyChanges();
}
#endif
base.LoadContent();
this.UiSystem.AutoScaleReferenceSize = new Point(1280, 720);
this.UiSystem.AutoScaleWithScreen = true;

1
Jenkinsfile vendored
View File

@ -9,7 +9,6 @@ pipeline {
stage('Cake Build') {
steps {
sh 'dotnet tool restore'
sh 'dotnet workload restore'
// we use xvfb to allow for graphics-dependent tests
sh 'xvfb-run -a dotnet cake --target Publish --branch ' + env.BRANCH_NAME
}