Archive Zeus

This commit is contained in:
linsui 2022-09-27 10:32:58 +08:00
parent 299a88e11e
commit 95eb886cb3

View file

@ -304,78 +304,11 @@ Builds:
- rm -rf sifir-rs-sdk
ndk: r21e
- versionName: 0.6.5
versionCode: 42
disable: https://github.com/ZeusLN/zeus/issues/910
commit: be558edb8ebe4567fb136097759883833b5e8ef6
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288
- apt-get update || apt-get update
- apt-get install -y g++
- apt-get install -y -t stretch-backports npm
gradle:
- yes
output: build/outputs/apk/release/app-universal-release-unsigned.apk
srclibs:
- rustup@1.24.3
- sifir-rs-sdk@ef6de5f0d37528ce74addbd3dc2178998d7dec00
prebuild:
- sed -i -e "/swiperefreshlayout/a implementation(project(':react-native-camera'))
{ exclude group\x3a 'com.google.firebase'\\ exclude group\x3a 'com.google.android.gms'\\
}" build.gradle
- echo -e '\n' 'org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
-Dfile.encoding=UTF-8' >> ../gradle.properties
- cd ../..
- npm install
- npm run postinstall
- cp -r $$sifir-rs-sdk$$ .
scanignore:
- android/build.gradle
- android/app/build.gradle
- node_modules/jsc-android
- node_modules/v8-android
- node_modules/react-native/android
- node_modules/react-native-v8/dist/com/facebook/react/react-native
- node_modules/react-native/template/android/build.gradle
- node_modules/react-native-camera/android/build.gradle
- node_modules/react-native-hce/android/build.gradle
- node_modules/react-native-gesture-handler/android/lib/build.gradle
- node_modules/react-native-nfc-manager/android/build.gradle
- node_modules/react-native-reanimated/android/build.gradle
- node_modules/react-native-safe-area-context/android/build.gradle
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-secure-key-store/example/android/build.gradle
- node_modules/react-native-svg/android/build.gradle
- node_modules/react-native-tor/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/@react-native-community/async-storage/android/build.gradle
- node_modules/@react-native-community/masked-view/android/build.gradle
scandelete:
- node_modules
- sifir-rs-sdk
build:
- $$rustup$$/rustup-init.sh -y
- source $HOME/.cargo/env
- rustup default stable
- rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android
i686-linux-android
- cargo install cargo-ndk
- export ANDROID_NDK=$$NDK$$
- cd ../../sifir-rs-sdk/sifir-android
- cargo ndk --platform 30 -t arm64-v8a -t armeabi-v7a -t x86 -t x86_64 -o app/tor/src/main/jniLibs
build -p sifir-android --release
- cd app
- gradle assembleRelease
- cd ../../..
- mv sifir-rs-sdk/sifir-android/app/tor/build/outputs/aar/tor-release.aar node_modules/react-native-tor/android/libs/sifir_android.aar
- rm -rf sifir-rs-sdk
ndk: r21e
MaintainerNotes: We build react-native-tor, i.e. sifir-rs-sdk from source. 0.1.8 is
used currently.
ArchivePolicy: 0 versions
AutoUpdateMode: None
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: 0.6.6
CurrentVersionCode: 43
UpdateCheckMode: None
CurrentVersion: 0.6.0-beta1
CurrentVersionCode: 30