mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-07 14:46:52 +00:00
Fix onyx build
This commit is contained in:
parent
7f06db0b7e
commit
f0da1b7a4d
1 changed files with 41 additions and 2 deletions
|
|
@ -142,10 +142,49 @@ Builds:
|
|||
--no-tree-shake-icons
|
||||
ndk: r25c
|
||||
|
||||
- versionName: 2.0.10
|
||||
versionCode: 2052
|
||||
commit: 67e5b2040786f2113d3ed6b6adafc45369c55804
|
||||
subdir: apps/onyx
|
||||
submodules: true
|
||||
sudo:
|
||||
- apt-get update
|
||||
- apt-get install -y gcc-multilib jq libc-dev make python3-pip yq
|
||||
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
|
||||
rm:
|
||||
- apps/onyx/ios
|
||||
- apps/onyx/linux
|
||||
- apps/onyx/macos
|
||||
- apps/onyx/web
|
||||
- apps/onyx/windows
|
||||
prebuild:
|
||||
- export PATH="$PATH:$HOME/build/fr.onyx.lyon1/apps/onyx/.pub-cache/bin:$HOME/build/fr.onyx.lyon1/apps/.flutter/bin"
|
||||
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||
- ../.flutter/bin/flutter config --no-analytics
|
||||
- dart pub global activate melos
|
||||
- melos bootstrap
|
||||
- echo "Adding geolocator_android package override to pubspec.yaml"
|
||||
- yq -i -Y '.dependency_overrides.geolocator_android.git = { url:"https://github.com/onyx-lyon1/flutter-geolocator.git",
|
||||
ref:"floss", path:"geolocator_android"}' pubspec.yaml
|
||||
- ../.flutter/bin/flutter pub get
|
||||
- sdkmanager "ndk;21.1.6352462"
|
||||
scanignore:
|
||||
- apps/onyx/assets/graph.json.gz
|
||||
- apps/.flutter/bin/cache
|
||||
scandelete:
|
||||
- apps/.flutter
|
||||
- apps/onyx/.pub-cache
|
||||
build:
|
||||
- export PATH="$PATH:$HOME/build/fr.onyx.lyon1/apps/onyx/.pub-cache/bin:$HOME/build/fr.onyx.lyon1/apps/.flutter/bin"
|
||||
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||
- flutter build apk --release --split-per-abi --target-platform="android-arm64"
|
||||
--no-tree-shake-icons
|
||||
ndk: r25c
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags ^v[\d.]+$
|
||||
VercodeOperation:
|
||||
- '%c + 2000'
|
||||
UpdateCheckData: apps/onyx/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
|
||||
CurrentVersion: 2.0.9
|
||||
CurrentVersionCode: 2051
|
||||
CurrentVersion: 2.0.10
|
||||
CurrentVersionCode: 2052
|
||||
|
|
|
|||
Loading…
Reference in a new issue