-
-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework for Android builds/workflows #2485
Draft
MatusGuy
wants to merge
151
commits into
SuperTux:master
Choose a base branch
from
MatusGuy:android-workflows
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
151 commits
Select commit
Hold shift + click to select a range
865264c
Add workflow_dispatch to android workflows
MatusGuy 6f8f45e
Android clone most dependencies
MatusGuy d8628e6
WIP android cmake script
MatusGuy eac44f7
fix android clone deps
MatusGuy 8535bbc
Give permission to run clone deps script
MatusGuy cad2004
set script permissions for android workflows
MatusGuy 6d2f92a
Merge 6f8f45e34
MatusGuy c18ad63
WIP android cmake script
MatusGuy 470be66
Give permission to run clone deps script
MatusGuy 394cafe
Merge branch 'SuperTux:master' into master
MatusGuy 29f883b
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 0c1fb47
Finishing up merge conflict fixes
MatusGuy 20f5d79
fix invalid path for android workflow
MatusGuy 9ec49c0
fix working directory
MatusGuy 9b288f6
clone dep script must be 1 line
MatusGuy 36a80b5
fix sdl image version
MatusGuy be2d006
Remove the second copy cmake script step
MatusGuy a1f977f
more android specific stuff
MatusGuy f843590
supertux android specific files
MatusGuy e35594a
fix jdk setup on android
MatusGuy 415f838
Set android ndk version
MatusGuy 2c18bbc
change app icon to default icon android
MatusGuy d6aeab5
oops forgot to set android sdk version here
MatusGuy 525f0e9
not supported by sdk 24 apparently
MatusGuy 4c729e0
Move android java files
MatusGuy a3e4d45
change android sdk version
MatusGuy 3bae05f
add supertux to android build
MatusGuy 092a46e
upload generated apk
MatusGuy 7d460b8
remove workingdirectory in android workflow upload
MatusGuy 3462e24
change android build folder
MatusGuy 3e5f428
android package name fix on main activity
MatusGuy 964a6cb
added gradle namespace for android
MatusGuy 6d7bee7
do not show gradle daemon status
MatusGuy 2587a72
hm is this needed on workflow_dispatch?
MatusGuy 7106103
cmake print added dependency
MatusGuy 2218c08
add subdirectories manually
MatusGuy 3e00f89
hopeless cmake tests
MatusGuy 8f9031a
Merge branch 'SuperTux:master' into master
MatusGuy 773cac9
manually specify libraries
MatusGuy 7b8c498
specify cmake version for android builds
MatusGuy c158099
specified cmake version somewhere else
MatusGuy 39ae0f0
added quotes in cmake version
MatusGuy b7576a9
make sdl available to android dependencies
MatusGuy ac107c1
last commit fix
MatusGuy 13975fe
android use original sdl_ttf instead of fork
MatusGuy cb18f0d
WIP make provide scripts compatible with android
MatusGuy 05d3dd9
fixed all configuration errors?
MatusGuy 88f9cff
fixed 90% of include errors regarding android
MatusGuy 5a72cc3
it's already at linking stage! rn i'm temp disabling curl
MatusGuy 0d6dd95
Merge branch 'master' of https://github.com/MatusGuy/supertux
MatusGuy adfeb03
ability to not build addon support
MatusGuy e193679
i am happy to remove boost from dependencies
MatusGuy 657933c
remove boost from android workflows
MatusGuy af1f21e
trying to fix curl disabling
MatusGuy 201897d
i guess disabling curl doesnt really make sense
MatusGuy 8e8ad62
Attempt to fix openssl
MatusGuy 94c7a9a
Everything should configure, generate, build, link.
MatusGuy da35e81
finally!! openssl on android!
MatusGuy 3296231
Android sets up data dir
MatusGuy 21bb269
fixed aspect ratio on android
MatusGuy 6f5a155
android workflows zip data folder
MatusGuy 7131cf1
app icon and name
MatusGuy 8ed098c
fix android workflows assets zip
MatusGuy b8f55b2
set gradle version
MatusGuy 8d60865
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 194e446
clarified linking in root cmakelists
MatusGuy ebbf6e9
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 9d2b3bf
detect touchscreens and show mobile controls if so
MatusGuy 20f7e3d
set jdk version to 20
MatusGuy 6287916
added fixme for android link libraries at root cmakelists
MatusGuy 56b88f1
sign apk
MatusGuy c881cb4
Merge branch 'android-workflows' of https://github.com/MatusGuy/super…
MatusGuy 0109d5f
disable building tests
MatusGuy 9f04c62
set apksigner path
MatusGuy c9ecd5a
fixed signing keys in android workflows
MatusGuy 831f565
android save data directory in external storage
MatusGuy 9150986
fix spelling of antartica in android workflows
MatusGuy 45c9982
try to remove big build logs
MatusGuy 67cb18d
indentation and remove comment
MatusGuy 4bb5269
add back quit button for mobile devices
MatusGuy 671a2ba
putting this back on
MatusGuy 6239df5
made mobile controls bigger
MatusGuy 8b66c82
Use actions/checkout for cloning sdl
MatusGuy 7f3c703
attempt to fix android workflow not finding sdl
MatusGuy 87e450e
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 2e73f4b
i don't actually know how to use actions/checkout
MatusGuy 5f880bf
whoops, script permissions in wrong order
MatusGuy 6d0362b
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 38a1a61
Download addons (with ssl verification off)
MatusGuy 11df433
Merge branch 'master' into android-workflows
MatusGuy b53b194
Merge branch 'master' into android-workflows
MatusGuy 1e36b2d
final tweaks to merge conflict fix
MatusGuy 326e450
tweak merge conflict fix
MatusGuy 997b503
auto locale via jni
MatusGuy 7713451
android screen keyboard support for textfields
MatusGuy 79de9a9
indentation
MatusGuy e62d68e
Preparing for a 48h github workflow debugging session.
MatusGuy 695c76a
debug apks are always signed
MatusGuy 6a4924f
forgot to change java file in mk and only changed it in local :(
MatusGuy f3fbffc
man i sure hope it works
MatusGuy f7fa62b
workflow upload data zip
MatusGuy c720bf6
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 00ee564
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 5548a57
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 2f1db58
Move clone_dependency.sh to .ci_scripts
MatusGuy bbc3a3a
Merge branch 'android-workflows' of https://github.com/MatusGuy/super…
MatusGuy f735803
Crap!
MatusGuy 5cb96c0
How did that get through...? [ci skip]
MatusGuy 95be7d9
wip menu.stl fix for android
MatusGuy 09df9d9
Package menu.stl and move zip step from yml to cmake
MatusGuy a5d6016
Merge branch 'master' into android-workflows
MatusGuy 366566b
Create assets folder before zipping data
MatusGuy b2ff43d
Merge branch 'android-workflows' of https://github.com/MatusGuy/super…
MatusGuy 10b2371
Remove ; from function declaration.
MatusGuy beacbc2
Change project src dir to cmake source dir (windows fix attempt)
MatusGuy adfcc2e
Add this back for other workflows to detect SDL
MatusGuy ee72b8c
change null to nullptr
MatusGuy efa5f8a
I wonder what will happen if...
MatusGuy 1e11313
Instant regret.
MatusGuy cb4f5e6
remove iconv include from findlocale
MatusGuy f61b1b1
Merge branch 'SuperTux:master' into android-workflows
MatusGuy 2673fb6
try split workflow into different architectures
MatusGuy 002c406
tweak
MatusGuy a25412b
try fix android workflow not running
MatusGuy 10f5e08
again
MatusGuy 18761cd
this should be it?
MatusGuy f6392c6
toarray
MatusGuy 221152f
asarray
MatusGuy 9fad39f
use project properties
MatusGuy c5f45a2
wip caching
MatusGuy 1728a3e
fix symlink
MatusGuy 45cdf59
fix fix symlink
MatusGuy e7ba0c8
changed names
MatusGuy 50dc71a
forgot to change key here
MatusGuy 067a017
tempfix for aspect ratio
MatusGuy bca6c4d
Merge branch 'master' into android-workflows
MatusGuy d395da8
data.zip is made by cmake
MatusGuy 7a22aa2
no more caching
MatusGuy d6b9300
Merge master
MatusGuy bd9976b
fix ssq
MatusGuy 8319a4c
wip vcpkg
MatusGuy d27d4e3
DAMN!!!
MatusGuy 6bef500
went a bit freaky with that one
MatusGuy 5e41243
This is the stablest it can go. Also I fixed ssl?
MatusGuy 508cc47
enable ssl hwoops
MatusGuy 0ad4b81
Fix video system not giving correct resolution
MatusGuy 91f45cd
remove custom cursor by default
MatusGuy 9528f5d
ahfhath
MatusGuy 7e2fe2b
ficks
MatusGuy 42386a0
ficks 2
MatusGuy 0162c9f
ficks 1.5
MatusGuy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/bash | ||
# Script used by GitHub workflows (mainly android) | ||
# to clone a git repository | ||
|
||
git clone "https://github.com/$1" --recurse-submodules --branch $2 --depth 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 work with pushd / popd here?
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.
the script clones into current directory
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.
Ah, okay.