misc fixes

This commit is contained in:
linsui 2022-06-13 10:56:51 +08:00
parent 0309639661
commit 0ae915ab3f
3 changed files with 11 additions and 345 deletions

View file

@ -304,348 +304,9 @@ Builds:
- rm -rf sifir-rs-sdk
ndk: r21e
- versionName: 0.6.0
versionCode: 35
disable: https://github.com/ZeusLN/zeus/issues/872
commit: v0.6.0
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
- versionName: 0.6.1
versionCode: 37
disable: https://github.com/ZeusLN/zeus/issues/910
commit: a25437f6be5eec42a16e9d50e4e22a6168b467e1
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
- versionName: 0.6.2
versionCode: 38
disable: https://github.com/ZeusLN/zeus/issues/910
commit: 76821ddbd43a2bd63688d4784420e23ddeb99822
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
- versionName: 0.6.4
versionCode: 40
disable: https://github.com/ZeusLN/zeus/issues/910
commit: 17f8db57dcdad3c08f1a2e60e8abe7eb2d2b88cf
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
- versionName: 0.6.5
versionCode: 41
disable: https://github.com/ZeusLN/zeus/issues/910
commit: 64342964d99b7b62095d6d2c1ccfbd76c4974331
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
- versionName: 0.6.5
versionCode: 42
disable: https://github.com/ZeusLN/zeus/issues/910
commit: be558edb8ebe4567fb136097759883833b5e8ef6
subdir: android/app
sudo:
@ -714,7 +375,7 @@ Builds:
MaintainerNotes: We build react-native-tor, i.e. sifir-rs-sdk from source. 0.1.8 is
used currently.
AutoUpdateMode: Version
AutoUpdateMode: None
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: 0.6.5
CurrentVersionCode: 42

View file

@ -2462,6 +2462,7 @@ Builds:
- versionName: 3.8.3
versionCode: 22000383
disable: https://github.com/Blockstream/green_android/issues/144
commit: 677d9902abbe1988eb720baf5860bee731d3742e
timeout: 25200
subdir: green

View file

@ -178,22 +178,26 @@ Builds:
commit: 3732bd75d479285e5a35163b02a9607b70c2ccb5
subdir: app
submodules: true
sudo:
- apt-get update || apt-get update
- apt-get install -y ninja-build openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- fdroid
srclibs:
- rustup@1.21.1
prebuild: sed -i -e 's/21.3.6528147/21.4.7075529/' -e '/setEnable/d' build.gradle.kts
- rustup@1.24.3
prebuild: sed -i -e '/isEnable/d' build.gradle.kts
build:
- $$rustup$$/rustup-init.sh -y
- source $HOME/.cargo/env
- rustup default 1.42.0
- rustup default 1.61.0
- rustup target add armv7-linux-androideabi
- rustup target add aarch64-linux-android
- rustup target add i686-linux-android
- rustup target add x86_64-linux-android
- export NDK_HOME=$$NDK$$
- ../html2md-build.sh
ndk: r21e
ndk: r22b
MaintainerNotes: |-
- This app is unofficial, I'm not related to Holywarsoo team in any way