-
Notifications
You must be signed in to change notification settings - Fork 1
Make android app compile on jenkins build server #425
Conversation
@@ -24,6 +24,5 @@ | |||
</style> | |||
|
|||
<style name="SplashTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"> | |||
<item name="android:windowBackground">@drawable/splash_screen</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Splash screen is not compatible for some reason: bamlab/generator-rn-toolbox#144
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can add this directly in code 🤔
stage('Build') { | ||
steps { | ||
sh 'mkdir packages && cd packages && nuget install ../Integreat/Integreat.Droid/packages.config' | ||
sh 'msbuild Integreat.sln /p:AndroidSdkDirectory="/opt/android-sdk/" || true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First execution fails with SIGSEV
Jenkinsfile
Outdated
steps { | ||
sh 'mkdir packages && cd packages && nuget install ../Integreat/Integreat.Droid/packages.config' | ||
sh 'msbuild Integreat.sln /p:AndroidSdkDirectory="/opt/android-sdk/" || true' | ||
sh 'msbuild Integreat/Integreat.Droid/Integreat.Droid.csproj /p:AndroidSdkDirectory="/opt/android-sdk/" /target:SignAndroidPackage' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SignAndroidPackage target is not available in Localisation project so we only build the Droid project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have to find a way to fix this splash screen issue at first I guess
Yes or wie decide agains them: https://androiduipatterns.com/splash-screen-with-any-other-name-is-still-a-splash-screen-and-they-suck-bab7f3b5850c |
@maxammann can we add the Jenkins here next to appveyor? So we can see what is wrong and maybe fix it |
@thimmy687 its already there: https://build.integreat-app.de/job/app-cross_platform/ You can also login with our integreat account |
* change to nuget restore * change to release build
This can be abandoned. I think I already removed mono from the build server. |
No description provided.