mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
restore android workload when building
This commit is contained in:
parent
711f60a97e
commit
79f7206686
2 changed files with 1 additions and 9 deletions
|
@ -48,15 +48,6 @@ namespace Demos {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadContent() {
|
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();
|
base.LoadContent();
|
||||||
this.UiSystem.AutoScaleReferenceSize = new Point(1280, 720);
|
this.UiSystem.AutoScaleReferenceSize = new Point(1280, 720);
|
||||||
this.UiSystem.AutoScaleWithScreen = true;
|
this.UiSystem.AutoScaleWithScreen = true;
|
||||||
|
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -9,6 +9,7 @@ pipeline {
|
||||||
stage('Cake Build') {
|
stage('Cake Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet tool restore'
|
sh 'dotnet tool restore'
|
||||||
|
sh 'dotnet workload restore'
|
||||||
// we use xvfb to allow for graphics-dependent tests
|
// we use xvfb to allow for graphics-dependent tests
|
||||||
sh 'xvfb-run -a dotnet cake --target Publish --branch ' + env.BRANCH_NAME
|
sh 'xvfb-run -a dotnet cake --target Publish --branch ' + env.BRANCH_NAME
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue