misc fixes

This commit is contained in:
linsui 2024-05-03 15:36:23 +08:00
parent f5b3588575
commit 467bd30464
11 changed files with 9 additions and 252 deletions

View file

@ -415,14 +415,6 @@ Builds:
- fdroid
prebuild: sed -i -e '/sonatype/d' build.gradle.kts
- versionName: 3.22.0
versionCode: 322000
commit: 7fe25005a612270af544087cabf678c65fabb8b9
subdir: app
gradle:
- fdroid
prebuild: sed -i -e '/sonatype/d' build.gradle.kts
- versionName: 3.22.1
versionCode: 322001
commit: ca51dc17ca50db1657e792ebffe140d4f28baef1

View file

@ -1145,30 +1145,6 @@ Builds:
- export USER=vagrant
- ARCHES="armv7a" ./scripts/android/build-android.sh -s $$COMMIT$$
- versionName: 5.6.1
versionCode: 194
commit: ea6c5bfb0bc5276cf666ed9f0c96ae1613583aca
timeout: 60000
sudo:
- apt-get update
- apt-get install -y xz-utils zipalign zip
- mkdir -m 0755 /nix
- chown vagrant /nix
- chown -R vagrant /tmp
output: ./simplex-chat-arm64-v8a.apk
rm:
- ./docs/themes/simplex-chat.sample.zip
prebuild:
- cp -r ./apps/multiplatform/gradle .
- sed -i -e '/maven.pkg.jetbrains.space/d' ./apps/multiplatform/{build,settings}.gradle.kts
- sed -i -e '/gradleConfig/d' ./apps/multiplatform/android/build.gradle.kts
- sed -i -e '/tasks/Q' ./apps/multiplatform/android/build.gradle.kts
- sed -i -e 's/android.version_code=.*/android.version_code=$$VERCODE$$/' ./apps/multiplatform/gradle.properties
build:
- gradle -v
- export USER=vagrant
- ARCHES="aarch64" ./scripts/android/build-android.sh -s $$COMMIT$$
- versionName: '5.7'
versionCode: 200
commit: d5a0c5e56a9c8598ea859e1b625a006cab086759

View file

@ -73,13 +73,6 @@ Builds:
gradle:
- yes
- versionName: '8.0'
versionCode: 25
commit: e546e116b47b0c5aebfbf33b051cf8b79c3ca6d0
subdir: app
gradle:
- yes
- versionName: '8.1'
versionCode: 26
commit: 9857d14f8ae833f9b51ec77ade78b04e308aca53

View file

@ -2838,40 +2838,6 @@ Builds:
- $$flutter$$/bin/flutter build apk --flavor fdroid --release
ndk: r25b
- versionName: 4.3.1
versionCode: 4043
commit: bbfe5c0af846d196718dda0c59c4eb70b53a596c
subdir: src/ui/flutter_app
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@stable
rm:
- src/test
- src/ui/flutter_app/ios
- src/ui/flutter_app/linux
- src/ui/flutter_app/macos
- src/ui/flutter_app/windows
- src/ui/flutter_app/test
- src/ui/qt
- tests
prebuild:
- export FLUTTER_VERSION=$(sed -n -E "s/.*flutter-version:\s'(.*)'/\1/p" ../../../.github/workflows/flutter.yml
| head -n 1)
- pushd $$flutter$$
- git checkout -f $FLUTTER_VERSION
- popd
- mv android/app/build.gradle_fdroid android/app/build.gradle
- export PUB_CACHE=$(pwd)/.pub-cache
- export PATH=$$flutter$$/bin:$PATH
- cd ../../..
- ./flutter-init.sh
scandelete:
- src/ui/flutter_app/.pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk --flavor fdroid --release
ndk: r25b
- versionName: 4.4.0
versionCode: 4059
commit: d4a5b1703b7246c412328fa0264722d6f763e1d5

View file

@ -596,28 +596,6 @@ Builds:
- submodules/flutter/bin/flutter build apk --release --flavor fdroid --split-per-abi
--target-platform="android-arm64"
- versionName: 1.0.58
versionCode: 8052
commit: 8615dad80887100c08aa1a5ef4475376183a98bb
submodules: true
output: build/app/outputs/flutter-apk/app-arm64-v8a-fdroid-release.apk
rm:
- ios
- macos
prebuild:
- export PUB_CACHE=$(pwd)/.pub-cache
- submodules/flutter/bin/flutter config --no-analytics
- submodules/flutter/bin/flutter pub get
scanignore:
- submodules/flutter/bin/cache
scandelete:
- submodules/flutter
- .pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- submodules/flutter/bin/flutter build apk --release --flavor fdroid --split-per-abi
--target-platform="android-arm64"
- versionName: 1.0.59
versionCode: 8053
commit: 2cdfed6258c084dddb6f236ff24c5d5095a2eb86

View file

@ -13622,21 +13622,6 @@ Builds:
scandelete:
- app/src/androidTest/assets
- versionName: '20240501'
versionCode: 20240501
commit: 21093617a3239c1e95ee78f610a243f4bfcfb0b8
subdir: app
gradle:
- versionDev
rm:
- user_manual
prebuild:
- mkdir -p $HOME/.gradle
- echo "org.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError"
> $HOME/.gradle/gradle.properties
scandelete:
- app/src/androidTest/assets
- versionName: '20240502'
versionCode: 20240502
commit: 9950b694c07898070cd4bd68caab50a1fd41b567

View file

@ -751,129 +751,6 @@ Builds:
- mv /home/brandon/flexify com.presley.flexify
ndk: r21e
- versionName: 1.0.70
versionCode: 771
commit: 1063c7fdeb38d7059c536a81b51b48d1c3b1c5fe
submodules: true
sudo:
- apt-get update
- apt-get install -y ninja-build
- mkdir -p /home/brandon
- chown vagrant -R /home/brandon
output: build/app/outputs/flutter-apk/app-x86_64-release.apk
binary: https://github.com/brandonp2412/Flexify/releases/download/%v/app-x86_64-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/flexify com.presley.flexify
scanignore:
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --split-per-abi --target-platform="android-x64"
- popd
- mv /home/brandon/flexify com.presley.flexify
ndk: r21e
- versionName: 1.0.70
versionCode: 772
commit: 1063c7fdeb38d7059c536a81b51b48d1c3b1c5fe
submodules: true
sudo:
- apt-get update
- apt-get install -y ninja-build
- mkdir -p /home/brandon
- chown vagrant -R /home/brandon
output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk
binary: https://github.com/brandonp2412/Flexify/releases/download/%v/app-armeabi-v7a-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/flexify com.presley.flexify
scanignore:
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --split-per-abi --target-platform="android-arm"
- popd
- mv /home/brandon/flexify com.presley.flexify
ndk: r21e
- versionName: 1.0.70
versionCode: 773
commit: 1063c7fdeb38d7059c536a81b51b48d1c3b1c5fe
submodules: true
sudo:
- apt-get update
- apt-get install -y ninja-build
- mkdir -p /home/brandon
- chown vagrant -R /home/brandon
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
binary: https://github.com/brandonp2412/Flexify/releases/download/%v/app-arm64-v8a-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/flexify com.presley.flexify
scanignore:
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.flexify /home/brandon/flexify
- pushd /home/brandon/flexify
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --split-per-abi --target-platform="android-arm64"
- popd
- mv /home/brandon/flexify com.presley.flexify
ndk: r21e
- versionName: 1.0.71
versionCode: 781
commit: 47ecf633982e1df4da3856eb886f9a2fd8f05261

View file

@ -24,13 +24,6 @@ Builds:
gradle:
- yes
- versionName: 1.0.2
versionCode: 3
commit: bfb5dd5ffb58c033fb13683484e6470e18b68cdf
subdir: app
gradle:
- yes
- versionName: 1.0.3
versionCode: 4
commit: 555c650a7f83339ddb0468ee4f09648fa1089154

View file

@ -2228,7 +2228,8 @@ Builds:
submodules: true
sudo:
- apt-get update
- apt-get install -y advancecomp build-essential golang-go
- apt-get install -y advancecomp make
- apt-get install -t bookworm-backports golang-go
gradle:
- yes
ndk: 25.1.8937393
@ -2245,7 +2246,8 @@ Builds:
submodules: true
sudo:
- apt-get update
- apt-get install -y advancecomp build-essential golang-go
- apt-get install -y advancecomp make
- apt-get install -t bookworm-backports golang-go
gradle:
- yes
ndk: 25.1.8937393
@ -2262,7 +2264,8 @@ Builds:
submodules: true
sudo:
- apt-get update
- apt-get install -y advancecomp build-essential golang-go
- apt-get install -y advancecomp make
- apt-get install -t bookworm-backports golang-go
gradle:
- yes
ndk: 25.1.8937393
@ -2279,7 +2282,8 @@ Builds:
submodules: true
sudo:
- apt-get update
- apt-get install -y advancecomp build-essential golang-go
- apt-get install -y advancecomp make
- apt-get install -t bookworm-backports golang-go
gradle:
- yes
ndk: 25.1.8937393

View file

@ -565,13 +565,6 @@ Builds:
gradle:
- yes
- versionName: 1.5.8
versionCode: 158
commit: 78f81124f56095b95a9865d289142a861b5871a1
subdir: app
gradle:
- yes
- versionName: 1.5.9
versionCode: 159
commit: dc7db59b11f4cefc63629996b1b5294a1f5866fa

View file

@ -75,7 +75,7 @@ Builds:
subdir: app
sudo:
- apt-get update
- apt-get install -y libncurses5 openjdk-17-jdk-headless
- apt-get install -y libncurses5
gradle:
- yes