Commit 460c1518 authored by linsui's avatar linsui
Browse files

misc fixes

parent aa4fa570
Pipeline #319785647 canceled with stage
in 50 minutes and 21 seconds
......@@ -40,33 +40,6 @@ Builds:
- buildozer android release
ndk: r19c
- versionName: '2019.1020'
versionCode: 721202920
commit: '2019.1020'
sudo:
- apt-get update || apt-get update
- apt-get install -y build-essential libffi-dev libltdl-dev libssl-dev virtualenv
zlib1g-dev
- cd build/srclib/cpython
- ./configure
- make -j`nproc`
- make altinstall
output: bin/zbarcamdemo-$$VERSION$$-armeabi-v7a-release-unsigned.apk
srclibs:
- cpython@v3.7.7
prebuild:
- sed -r "s:#?android.sdk_path =.*:android.sdk_path = $$SDK$$:" -i buildozer.spec
- sed -r "s:#?android.ndk_path =.*:android.ndk_path = $$NDK$$:" -i buildozer.spec
- sed -r "s:#?android.accept_sdk_license =.*:android.accept_sdk_license = False:"
-i buildozer.spec
- virtualenv --python=python3.7 ../../env
- source ../../env/bin/activate
- pip install --upgrade buildozer Cython
build:
- source ../../env/bin/activate
- buildozer android release
ndk: r19c
MaintainerNotes: |-
The auto accept license is disabled since fdroid sdkmanager doesn't support
the --licenses argument.
......
......@@ -18,9 +18,9 @@ Builds:
gradle:
- yes
- versionName: v21.10
versionCode: 264
commit: v21.10
- versionName: v21.10.3
versionCode: 267
commit: v21.10.2
subdir: app
gradle:
- yes
......@@ -28,5 +28,5 @@ Builds:
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$
UpdateCheckData: version.txt|\+(\d+)|.|(.+)\+
CurrentVersion: v21.10
CurrentVersionCode: 264
CurrentVersion: v21.10.3
CurrentVersionCode: 267
......@@ -697,6 +697,7 @@ Builds:
- versionName: 17.3.0
versionCode: 45
disable: https://github.com/juha-h/baresip-studio/issues/161
commit: v17.3.0
subdir: app
sudo:
......
......@@ -1760,6 +1760,7 @@ Builds:
- versionName: 30.3.0
versionCode: 168
disable: https://github.com/juha-h/baresip-studio/issues/161
commit: 30.3.0
subdir: app
gradle:
......
......@@ -45,6 +45,7 @@ Builds:
- versionName: 1.6.0
versionCode: 16001
disable: https://github.com/xbrowsersync/app/issues/313
commit: v1.6.0.1227
sudo:
- apt-get update || apt-get update
......
......@@ -1380,7 +1380,7 @@ Builds:
- versionName: 20210521-01
versionCode: 301
commit: android/release_301
commit: 531663d0e8ba1e4ad217fc7083fcb2918e47cc83
timeout: 10800
subdir: client-android/ring-android/app
submodules: true
......
......@@ -278,17 +278,12 @@ Builds:
- versionName: 2.2.0
versionCode: 64
commit: v2.2.0
subdir: android
gradle:
- yes
output: ../build/app/outputs/apk/release/app-release-unsigned.apk
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@v1.9.1+hotfix.6
prebuild:
- flutter=$(realpath $$flutter$$/bin/flutter)
- cd ..
- $flutter config --no-analytics
- $flutter packages get
- flutter@2.2.1
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -337,6 +337,7 @@ Builds:
subdir: app
gradle:
- prod
ndk: r21
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -62,9 +62,7 @@ Builds:
subdir: app
gradle:
- quad5
prebuild:
- sed -i -e '/CpuStats_r/d' build.gradle
- sed -i -e '/applicationVariants.all/,+12d' build.gradle
prebuild: sed -i -e '/applicationVariants.all/,/^ }/d' build.gradle
MaintainerNotes: I don't know what the difference between quad3 and quad5 flavors
is...
......
......@@ -28,15 +28,14 @@ Builds:
- versionName: 0.0.13
versionCode: 1300
disable: don't know the correct flutter version
commit: 0.0.13
output: build/app/outputs/apk/release/app-release.apk
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@stable
prebuild:
- touch android/key.properties
- echo 'android.applicationVariants.all { variant -> variant.outputs.all { output
-> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle
build: $$flutter$$/bin/flutter build apk --suppress-analytics
- flutter@v1.10.7
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version
UpdateCheckMode: Tags
......
......@@ -48,6 +48,7 @@ Builds:
- versionName: 1.0.0
versionCode: 39263
disable: firebase crashlytics https://github.com/glpi-project/android-inventory-agent/issues/344
commit: 1.0.0
subdir: app
gradle:
......@@ -55,7 +56,7 @@ Builds:
prebuild: sed -i -e 's/android:versionName=\"/android:versionName=\"$$VERSION$$/'
src/main/AndroidManifest.xml
AutoUpdateMode: Version %v
AutoUpdateMode: None
UpdateCheckMode: Tags
UpdateCheckData: app/src/main/AndroidManifest.xml|android:versionCode="(\d+)"||
CurrentVersion: 1.0.0
......
......@@ -161,6 +161,7 @@ Builds:
- $$flutter$$/bin/flutter pub get
- PATH=$$flutter$$/bin:$$flutter$$/bin/cache/dart-sdk/bin/:$PATH make fdroid
BUILD_NO=$$VERCODE$$
ndk: r20
AutoUpdateMode: Version v%v
UpdateCheckMode: HTTP
......
......@@ -316,44 +316,36 @@ Builds:
- versionName: 1.0.9
versionCode: 155
disable: native build failed
commit: 1.0.9
subdir: app
submodules: true
sudo:
- apt-get update || apt-get update
- apt-get install -y -t testing golang-go
gradle:
- normalProductionFat
rm:
- bitmask-core/*.?ar
- bitmask-web-core/*.?ar
- go/src/github.com/agl/ed25519/testdata/sign.input.gz
- go/src/github.com/shadowsocks/shadowsocks-go/script/shadowsocks.exe
- go/src/golang.org/x/crypto/ed25519/testdata/sign.input.gz
- go/src/golang.org/x/tools/cmd/splitdwarf/internal/macho/testdata
- go/src/golang.org/x/tools/go/gccgoexportdata/testdata
- go/src/golang.org/x/tools/go/gcexportdata/testdata
- go/src/golang.org/x/tools/go/internal/gccgoimporter/testdata/
- go/src/golang.org/x/tools/go/internal/gcimporter/testdata/
- go/src/golang.org/x/tools/go/packages/testdata/TestName_ModulesDedup/pkg/mod/cache/download/github.com/heschik/tools-testrepo/@v/*.zip
- go/src/golang.org/x/tools/go/packages/testdata/TestName_ModulesDedup/pkg/mod/cache/download/github.com/heschik/tools-testrepo/v2/@v/*.zip
- ics-openvpn/main/src/main/cpp/mbedtls/programs/fuzz/corpuses/*
- ics-openvpn/main/src/main/cpp/mbedtls/tests
- ics-openvpn/main/src/main/cpp/openvpn3/test/unittests/comp-testdata
prebuild: sed -i -e "/^task updateSdkLicences/,/^}/d; /commandLine 'git'/d" build.gradle
prebuild:
- $$SDK$$/tools/bin/sdkmanager 'platforms;android-30' 'build-tools;30.0.3' >
/dev/null
- sed -i -e "/^task updateSdkLicences/,/^}/d; /commandLine 'git'/d" build.gradle
scandelete:
- bitmask-core
- bitmask-web-core
- go/src
- ics-openvpn/main/src/main/cpp
build:
- cd ../go
- curl -o go.tar.gz https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz
- echo '6272d6e940ecb71ea5636ddb5fab3933e087c1356173c61f4a803895e947ebb3 go.tar.gz'
| shasum -c
- mkdir -p golang
- tar -C golang -xzf go.tar.gz
- export GOPATH="$PWD"
- export GO_LANG="$PWD/golang/go/bin"
- export GO_COMPILED="$PWD/bin"
- export PATH="$GO_LANG:$GO_COMPILED:$PATH"
- ./golang/go/bin/go get golang.org/x/mobile/cmd/gomobile
- ./bin/gomobile init
- ./android_build_web_core.sh
- ./android_build_core.sh
- export PATH="$GO_COMPILED:$PATH"
- go get golang.org/x/mobile/cmd/gomobile
- gomobile init
- mkdir -p ./lib
- gomobile bind -target=android -o ./lib/bitmask-web-core.aar se.leap.bitmaskclient/shapeshifter/
se.leap.bitmaskclient/pgpverify
- cp lib/bitmask-web-core* ../bitmask-web-core/.
- gomobile bind -target=android -o ./lib/bitmask-core.aar se.leap.bitmaskclient/shapeshifter/
- cp lib/bitmask-core* ../bitmask-core/.
- cd ../ics-openvpn
- gradle main:externalNativeBuildCleanSkeletonRelease main:externalNativeBuildSkeletonRelease
ndk: r20b
......
......@@ -153,36 +153,33 @@ Builds:
commit: 1.0.9
subdir: app
submodules: true
sudo:
- apt-get update || apt-get update
- apt-get install -y -t testing golang-go
gradle:
- customProductionFat
rm:
- go/src/github.com/agl/ed25519/testdata/sign.input.gz
- go/src/github.com/shadowsocks/shadowsocks-go/script/shadowsocks.exe
- go/src/golang.org/x/crypto/ed25519/testdata/sign.input.gz
- go/src/golang.org/x/tools/cmd/splitdwarf/internal/macho/testdata
- go/src/golang.org/x/tools/go/gccgoexportdata/testdata
- go/src/golang.org/x/tools/go/gcexportdata/testdata
- go/src/golang.org/x/tools/go/internal/gccgoimporter/testdata/
- go/src/golang.org/x/tools/go/internal/gcimporter/testdata/
- go/src/golang.org/x/tools/go/packages/testdata/TestName_ModulesDedup/pkg/mod/cache/download/github.com/heschik/tools-testrepo/@v/*.zip
- go/src/golang.org/x/tools/go/packages/testdata/TestName_ModulesDedup/pkg/mod/cache/download/github.com/heschik/tools-testrepo/v2/@v/*.zip
- ics-openvpn/main/src/main/cpp/mbedtls/programs/fuzz/corpuses/*
- ics-openvpn/main/src/main/cpp/mbedtls/tests
- shapeshifter/*.?ar
prebuild: sed -i -e "/^task updateSdkLicences/,/^}/d; /commandLine 'git'/d" build.gradle
prebuild:
- $$SDK$$/tools/bin/sdkmanager 'platforms;android-30' 'build-tools;30.0.3' >
/dev/null
- sed -i -e "/^task updateSdkLicences/,/^}/d; /commandLine 'git'/d" build.gradle
scandelete:
- bitmask-core
- bitmask-web-core
- go/src
- ics-openvpn/main/src/main/cpp
build:
- cd ../go
- curl -o go.tar.gz https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz
- echo 'b6f9db387340e24f5623e6de0b8aa1387d103277 go.tar.gz' | shasum -c
- mkdir -p golang
- tar -C golang -xzf go.tar.gz
- export GOPATH="$PWD"
- export GO_LANG="$PWD/golang/go/bin"
- export GO_COMPILED="$PWD/bin"
- export PATH="$GO_LANG:$GO_COMPILED:$PATH"
- ./golang/go/bin/go get golang.org/x/mobile/cmd/gomobile
- ./bin/gomobile init
- ./android_build_shapeshifter.sh createLibrary
- export PATH="$GO_COMPILED:$PATH"
- go get golang.org/x/mobile/cmd/gomobile
- gomobile init
- mkdir -p ./lib
- gomobile bind -target=android -o ./lib/bitmask-web-core.aar se.leap.bitmaskclient/shapeshifter/
se.leap.bitmaskclient/pgpverify
- cp lib/bitmask-web-core* ../bitmask-web-core/.
- gomobile bind -target=android -o ./lib/bitmask-core.aar se.leap.bitmaskclient/shapeshifter/
- cp lib/bitmask-core* ../bitmask-core/.
- cd ../ics-openvpn
- gradle main:externalNativeBuildCleanSkeletonRelease main:externalNativeBuildSkeletonRelease
ndk: r20b
......
......@@ -17,7 +17,7 @@ Builds:
rm:
- app/src/main/res/ic_launcher(1).zip
AutoUpdateMode: None
UpdateCheckMode: None
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[0-9.]*$
CurrentVersion: Americium
CurrentVersionCode: 11
......@@ -33,15 +33,10 @@ Builds:
gradle:
- yes
- versionName: v11.1
versionCode: 11
commit: v11.1
subdir: app
gradle:
- yes
MaintainerNotes: app id changed to tech.waelk.radioactive.metronome
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[0-9.]*$
UpdateCheckData: app/build.gradle|versionCode\s(\d+)||
CurrentVersion: v11.1
CurrentVersionCode: 11
ArchivePolicy: 0 versions
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: Thorium
CurrentVersionCode: 5
......@@ -254,6 +254,7 @@ Builds:
- versionName: 1.6.6
versionCode: 166
disable: https://gitlab.com/dboddie/weather-forecast/-/issues/9
commit: 1.6.6
sudo:
- apt-get update || apt-get update
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment