misc fixes

This commit is contained in:
linsui 2024-07-13 17:05:07 +08:00
parent d98d9559cf
commit 9193835341
7 changed files with 10 additions and 401 deletions

View file

@ -240,52 +240,9 @@ Builds:
- rm -rf /tmp/build
ndk: r23b
- versionName: 1.1.8
versionCode: 118
commit: 0af55b2efb43738139af8aa3f6b0c53a870042e1
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@stable
rm:
- ios
- linux
- macos
- web
- windows
prebuild:
- export FLUTTER_VERSION="$(cat flutter_version)"
- export PUB_CACHE=$(pwd)/.pub-cache
- pushd $$flutter$$
- git checkout -f $FLUTTER_VERSION
- popd
- cd ..
- rm -rf /tmp/build
- mv business.braid.f_wallet /tmp/build
- pushd /tmp/build
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter pub get
- popd
- cp -pr /tmp/build/* business.braid.f_wallet
- rm -rf /tmp/build
scandelete:
- .pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- cd ..
- rm -rf /tmp/build
- mv business.braid.f_wallet /tmp/build
- pushd /tmp/build
- export APP_VERSION="v$(cat pubspec.yaml | grep version | awk '{ print $2 }'
| cut -f1 -d "+")"
- $$flutter$$/bin/flutter gen-l10n
- $$flutter$$/bin/flutter build apk --dart-define=FWALLET_IS_STABLE=true --dart-define=FWALLET_VERSION="$APP_VERSION"
- popd
- cp -pr /tmp/build/* business.braid.f_wallet
- rm -rf /tmp/build
ndk: r23b
- versionName: 1.1.9
versionCode: 119
disable: https://gitlab.com/fdroid/fdroiddata/-/issues/3312
commit: 2ffd1efbc83f81b7be1f265156724038dae9336c
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:

View file

@ -34,13 +34,6 @@ Builds:
gradle:
- yes
- versionName: 0.1.0
versionCode: 7
commit: 18bafe03465c6c5b5e3539b402ead70da7728957
subdir: app
gradle:
- yes
- versionName: 0.2.0
versionCode: 9
commit: 78c9fb7e5d2e8369053d94dfa7c2d847bb450edd

View file

@ -3,7 +3,6 @@ Categories:
License: GPL-3.0-only
AuthorName: Hassan Eltantawy
AuthorEmail: hasaneltantawy@gmail.com
AuthorWebSite: https://github.com/HasanEltantawy
SourceCode: https://github.com/muslimpack/HisnElmoslem_App
IssueTracker: https://github.com/muslimpack/HisnElmoslem_App/issues
Changelog: https://github.com/muslimpack/HisnElmoslem_App/releases
@ -77,7 +76,7 @@ Builds:
subdir: hisnelmoslem
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@3.16.9
- flutter@3.22.2
rm:
- hisnelmoslem/ios
prebuild:

View file

@ -146,11 +146,9 @@ Builds:
subdir: idTech4Amm
sudo:
- apt-get update
- apt-get install -y g++ libc-dev make libtinfo5
- apt-get install -y g++ libc-dev make libtinfo5 python-is-python3
gradle:
- yes
scanignore:
- idTech4Amm/src/main/assets/source
scandelete:
- Q3E/src/main/jni

View file

@ -1810,134 +1810,9 @@ Builds:
- mv /home/brandon/fitbook com.presley.fit_book
ndk: r21e
- versionName: 1.0.60
versionCode: 651
commit: 4516523404d0806dcd9c28f276a591ccba2de886
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/FitBook/releases/download/%v/app-x86_64-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/fitbook com.presley.fit_book
scanignore:
- assets/my-food-data.zip
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --split-per-abi --target-platform="android-x64"
- popd
- mv /home/brandon/fitbook com.presley.fit_book
ndk: r21e
- versionName: 1.0.60
versionCode: 652
commit: 4516523404d0806dcd9c28f276a591ccba2de886
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/FitBook/releases/download/%v/app-armeabi-v7a-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/fitbook com.presley.fit_book
scanignore:
- assets/my-food-data.zip
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --split-per-abi --target-platform="android-arm"
- popd
- mv /home/brandon/fitbook com.presley.fit_book
ndk: r21e
- versionName: 1.0.60
versionCode: 653
commit: 4516523404d0806dcd9c28f276a591ccba2de886
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/FitBook/releases/download/%v/app-arm64-v8a-release.apk
rm:
- ios
- linux
- web
- windows
prebuild:
- sdkmanager 'cmake;3.18.1'
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
- popd
- mv /home/brandon/fitbook com.presley.fit_book
scanignore:
- assets/my-food-data.zip
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- cd ..
- mv com.presley.fit_book /home/brandon/fitbook
- pushd /home/brandon/fitbook
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64"
- popd
- mv /home/brandon/fitbook com.presley.fit_book
ndk: r21e
- versionName: 1.0.62
versionCode: 671
disable: https://github.com/brandonp2412/FitBook/issues/25
commit: 9c7ce80bbbda5ae520313a9f62d6d5005e7a87e0
submodules: true
sudo:
@ -1980,6 +1855,7 @@ Builds:
- versionName: 1.0.62
versionCode: 672
disable: https://github.com/brandonp2412/FitBook/issues/25
commit: 9c7ce80bbbda5ae520313a9f62d6d5005e7a87e0
submodules: true
sudo:
@ -2022,6 +1898,7 @@ Builds:
- versionName: 1.0.62
versionCode: 673
disable: https://github.com/brandonp2412/FitBook/issues/25
commit: 9c7ce80bbbda5ae520313a9f62d6d5005e7a87e0
submodules: true
sudo:
@ -2064,7 +1941,7 @@ Builds:
AllowedAPKSigningKeys: 011ee1a6e4e5ecd675f67fbf3d78ad82614a7a7a3f24ed71cc9c417154a0f0fd
AutoUpdateMode: Version
AutoUpdateMode: None
UpdateCheckMode: Tags
VercodeOperation:
- 10 * %c + 1

View file

@ -3661,129 +3661,6 @@ Builds:
- mv /home/brandon/flexify com.presley.flexify
ndk: r21e
- versionName: 1.1.44
versionCode: 1531
commit: 311e989664d6f4ed054dac37f590b013b42ef5eb
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.1.44
versionCode: 1532
commit: 311e989664d6f4ed054dac37f590b013b42ef5eb
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.1.44
versionCode: 1533
commit: 311e989664d6f4ed054dac37f590b013b42ef5eb
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.1.46
versionCode: 1551
commit: 31a4e2a2f308a173240d29695726bd760199903d

View file

@ -1390,102 +1390,9 @@ Builds:
- cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=conan-generated/conan_toolchain.cmake
- cmake --build build
- versionName: 1.5.3
versionCode: 15310
disable: see https://github.com/vcmi/vcmi/pull/3817
commit: 099a491762c74907fafbd3a90846fe879c39ecbf
timeout: 30000
subdir: android/vcmi-app
submodules: true
sudo:
- apt-get update
- apt-get install -y ninja-build pipx xz-utils unzip g++ make libssl-dev
- apt-get install -y cmake -t bookworm-backports
gradle:
- yes
srclibs:
- conan@1.60.1
prebuild:
- pipx install $$conan$$
- cd ../..
- export CONAN_USER_HOME="$(pwd)"
- export CONAN_USER_HOME_SHORT="$(pwd)"
- export PATH="${HOME}/.local/bin:$$CMake$$/build/bin:$PATH"
- mkdir .conan
- pushd .conan
- curl -Lo armeabi-v7a.txz https://github.com/vcmi/vcmi-dependencies/releases/download/android-1.1/armeabi-v7a.txz
- sha256sum -c <<< 'b7a3c26530ef9e0deccc5d28fd9644985caa4d22bc6ee3613a6143034e7ed7eb armeabi-v7a.txz'
- tar -xf armeabi-v7a.txz
- rm armeabi-v7a.txz
- popd
- conan profile new default --detect
- conan info . --profile:build=default --profile:host=CI/conan/android-32
- sed -i -e 's/versionCode.*$/versionCode $$VERCODE$$/' android/vcmi-app/build.gradle
scandelete:
- .conan
- osx
build:
- cd ../..
- export GENERATE_ONLY_BUILT_CONFIG=1
- export CONAN_USER_HOME="$(pwd)"
- export CONAN_USER_HOME_SHORT="$(pwd)"
- export PATH="${HOME}/.local/bin:$$CMake$$/build/bin:$PATH"
- conan install . --install-folder=conan-generated --build --profile:build=default
--profile:host=CI/conan/android-32 -s compiler.cppstd=11 -c tools.android:ndk_path=$$NDK$$
- mkdir build
- cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=conan-generated/conan_toolchain.cmake
- cmake --build build
ndk: r25c
- versionName: 1.5.3
versionCode: 15311
disable: see https://github.com/vcmi/vcmi/pull/3817
commit: 099a491762c74907fafbd3a90846fe879c39ecbf
timeout: 30000
subdir: android/vcmi-app
submodules: true
sudo:
- apt-get update
- apt-get install -y ninja-build pipx xz-utils unzip g++ make libssl-dev
- apt-get install -y cmake -t bookworm-backports
gradle:
- yes
srclibs:
- conan@1.60.1
prebuild:
- pipx install $$conan$$
- cd ../..
- export CONAN_USER_HOME="$(pwd)"
- export CONAN_USER_HOME_SHORT="$(pwd)"
- export PATH="${HOME}/.local/bin:$PATH"
- mkdir .conan
- pushd .conan
- curl -Lo aarch64-v8a.txz https://github.com/vcmi/vcmi-dependencies/releases/download/android-1.1/aarch64-v8a.txz
- sha256sum -c <<< 'ea8d97b4ec714bbc19fe216e8a47f26ee23faeffceabc2c93adc6d4023eaa1ee aarch64-v8a.txz'
- tar -xf aarch64-v8a.txz
- rm aarch64-v8a.txz
- popd
- conan profile new default --detect
- conan info . --profile:build=default --profile:host=CI/conan/android-64
- sed -i -e 's/versionCode.*$/versionCode $$VERCODE$$/' android/vcmi-app/build.gradle
scandelete:
- .conan
- osx
build:
- cd ../..
- export GENERATE_ONLY_BUILT_CONFIG=1
- export CONAN_USER_HOME="$(pwd)"
- export CONAN_USER_HOME_SHORT="$(pwd)"
- export PATH="${HOME}/.local/bin:$PATH"
- conan install . --install-folder=conan-generated --build --profile:build=default
--profile:host=CI/conan/android-64 -s compiler.cppstd=11 -c tools.android:ndk_path=$$NDK$$
- mkdir build
- cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=conan-generated/conan_toolchain.cmake
- cmake --build build
ndk: r25c
- versionName: 1.5.4
versionCode: 15400
disable: see https://github.com/vcmi/vcmi/pull/3817
commit: 286a70c007cc8ec1c0b36eb157d6b2b89b7f1dda
timeout: 30000
subdir: android/vcmi-app
@ -1532,6 +1439,7 @@ Builds:
- versionName: 1.5.4
versionCode: 15401
disable: see https://github.com/vcmi/vcmi/pull/3817
commit: 286a70c007cc8ec1c0b36eb157d6b2b89b7f1dda
timeout: 30000
subdir: android/vcmi-app
@ -1617,7 +1525,7 @@ MaintainerNotes: |-
in the "init" section. Because of this, we also bump minSdk version to 21
(android 5.0).
AutoUpdateMode: Version
AutoUpdateMode: None
UpdateCheckMode: Tags
VercodeOperation:
- 10 * %c