OMW_Nightly - update 5

This commit is contained in:
licaon-kter 2021-05-23 21:36:21 +03:00
parent 574332f0b3
commit 0b169a48a2

View file

@ -614,6 +614,41 @@ Builds:
- buildscripts/downloads/*
ndk: r20b
- versionName: 0.47.0-45-nightly
versionCode: 45
commit: 0.47.0-45-nightly
timeout: 30000
sudo:
- apt-get update || apt-get update
- apt-get install -y doxygen g++ pkgconf wget
- apt-get install -y -t stretch-backports-sloppy libarchive13
- apt-get install -y -t stretch-backports cmake
gradle:
- nightly
output: app/build/outputs/apk/nightly/release/omw_release_*.apk
prebuild:
- sed -i -e '/Unzip/,+5d' buildscripts/include/setup-ndk.sh
- sed -i -e 's/\ -Wl,-plugin-opt=-emulated-tls//' -e '/download-ndk/d' -e '/debugging\
life/,+19d' buildscripts/build.sh
- mkdir -p buildscripts/toolchain/ndk
- ln -s $$NDK$$/* buildscripts/toolchain/ndk/
- rm -fr buildscripts/toolchain/ndk/build
- cp -r $$NDK$$/build buildscripts/toolchain/ndk/
- sed -i 's/Oz/O2/g' buildscripts/toolchain/ndk/build/cmake/android.toolchain.cmake
- ./buildscripts/build.sh --arch arm --lto
- ./buildscripts/build.sh --arch arm64 --lto --no-resources
- ./buildscripts/build.sh --arch x86 --lto --no-resources
- ./buildscripts/build.sh --arch x86_64 --lto --no-resources
- rm -fr ./buildscripts/build/*
- rm -fr ./buildscripts/prefix/*
- rm -fr ./buildscripts/symbols/*
- rm -fr ./buildscripts/toolchain/*
scanignore:
- app/src/main/assets
- app/src/main/jniLibs
- buildscripts/downloads/*
ndk: r21e
MaintainerNotes: |-
- we use prebuild else fdroid scanner will detect the built libs as binaries on the second pass before running build, and we can't scanignore them (at start) since they don't exist yet, see https://gitlab.com/fdroid/fdroidserver/issues/635
- we remove the buildtools and intermediary artefacts (several gigabytes) else they'll get pulled in the source tarball