Commit 2483d3bd authored by Licaon_Kter's avatar Licaon_Kter 💬
Browse files

supertuxkart 1.4-rc1

parent 60bd4334
Pipeline #673400154 failed with stages
in 3 minutes and 41 seconds
......@@ -269,6 +269,49 @@ Builds:
- ./make.sh
ndk: r20b
- versionName: 1.4-rc1
versionCode: 308
commit: 29067b2be007598e330dd3b7270ff6d49248c188
subdir: android
sudo:
- apt-get update
- apt-get install -y advancecomp autoconf automake cmake imagemagick libjpeg-progs
libogg-dev make optipng pngquant vorbis-tools yasm
output: build/outputs/apk/release/android-release-unsigned.apk
prebuild:
- sed -i -e 's#./gradlew#gradle#' -e '/Check\ if\ we\ have\ key/,+25d' -e '/ANDROID_HOME/,+10d'
-e 's/bundleRelease/assembleRelease/' make.sh
- sed -i -e '/keystore/,+3d' build.gradle
- sed -i -e 's#../../stk-assets#stk-assets#' generate_assets.sh
- wget https://github.com/supertuxkart/stk-assets-mobile/releases/download/$$VERSION$$/stk-assets-full.zip
- echo '8390930c6ffdbaa15b0cd3833f562c173c93c09489cbb57af4d39a065d6cd5dc stk-assets-full.zip'
| sha256sum -c -
- unzip stk-assets-full.zip -d stk-assets
- git clone https://github.com/supertuxkart/dependencies
- cd dependencies
- git checkout dcdffba7f0c6b3d3b2afc792d4c8c0c25403dd56
- git submodule update --init --recursive
- mv src/* ../../lib
scandelete:
- android/stk-assets-full.zip
- lib/curl/tests
- lib/harfbuzz/test
- lib/mbedtls/tests
- lib/mbedtls/programs/fuzz
- lib/moltenvk/Templates/spirv-tools/build.zip
- lib/sdl2/Xcode/SDL/pkg-support/resources/SDL_DS_Store
build:
- export BUILD_TYPE=release
- export COMPILE_ARCH=all
- export SDK_PATH=$$SDK$$
- export NDK_PATH=$$SDK$$/ndk
- export PROJECT_VERSION=$$VERSION$$
- export PROJECT_CODE=$$VERCODE$$
- ./generate_assets.sh
- ./make_deps.sh
- bash ./make.sh
ndk: r23b
MaintainerNotes: |-
The resulting APK is ~118Mb per arch, but per arch lib is only 10-20Mb so either we have 4 APKs (one per arch) each 118Mb (3 versions means 12 APKs!) or one for all at ~145Mb.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment