misc fixes

This commit is contained in:
linsui 2024-03-16 15:52:27 +08:00
parent 37e2273012
commit 843dce1bf7
4 changed files with 13 additions and 61 deletions

View file

@ -1084,34 +1084,11 @@ Builds:
scandelete:
- node_modules/
- versionName: 1.47.0
versionCode: 225
commit: 041e8f0c5c7e741e80e767e1f5a9af8ef64a86d9
subdir: android/app
sudo:
- apt-get update
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-x64.tar.gz
- echo "f0919f092fbf74544438907fa083c21e76b2d7a4bc287f0607ada1553ef16f60 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
init:
- corepack enable
- pnpm install --frozen-lockfile
- CI_PLATFORM=android BUILD_FOSS_ONLY=true pnpm run build
- cd ../..
- npx cap sync android --deployment
gradle:
- yes
scandelete:
- node_modules/
- versionName: 1.47.1
versionCode: 226
commit: 87bf013f0c925e727cb756ee4c00848ce36b9422
subdir: android/app
sudo:
- apt-get update
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-x64.tar.gz
- echo "f0919f092fbf74544438907fa083c21e76b2d7a4bc287f0607ada1553ef16f60 node.tar.gz"

View file

@ -2140,11 +2140,9 @@ Builds:
- apt-get update
- apt-get install -y autogen automake autopoint bzip2 g++ libc-dev make gettext
libtool pkg-config rename shtool
- apt-get install -y -t bullseye-backports golang-go
- apt-get install -y -t bookworm-backports golang-go
gradle:
- yes
srclibs:
- go@go1.21.4
rm:
- syncthing/src/github.com/syncthing/syncthing/lib/model/testdata
prebuild:
@ -2156,14 +2154,6 @@ Builds:
-f 2)
- sdkmanager "ndk;$ndkversion"
- export ANDROID_NDK_HOME=$$SDK$$/ndk/$ndkversion
- export goversion=$(grep "GO_VERSION = " ../syncthing/build-syncthing.py|cut
-d "'" -f 2)
- pushd $$go$$
- git checkout -f go$goversion
- cd src
- ./make.bash
- popd
- export PATH=$$go$$/bin:$PATH
- gradle :syncthing:buildNative
MaintainerNotes: |-

View file

@ -8109,12 +8109,9 @@ Builds:
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.gz
- echo "8aae62b6b3a5d659459c35c51e4373b950d11595a273db16c6162c712c5533a2 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm -g install yarn
- npm -g install npm@9
- apt-get update
- apt-get install -y npm
- npm -g install yarn npm@9
init:
- cd ../..
- sed -i -e '/react-native-in-app-review/d' package.json
@ -8201,12 +8198,9 @@ Builds:
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.gz
- echo "8aae62b6b3a5d659459c35c51e4373b950d11595a273db16c6162c712c5533a2 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm -g install yarn
- npm -g install npm@9
- apt-get update
- apt-get install -y npm
- npm -g install yarn npm@9
init:
- cd ../..
- sed -i -e '/react-native-in-app-review/d' package.json
@ -8293,12 +8287,9 @@ Builds:
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.gz
- echo "8aae62b6b3a5d659459c35c51e4373b950d11595a273db16c6162c712c5533a2 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm -g install yarn
- npm -g install npm@9
- apt-get update
- apt-get install -y npm
- npm -g install yarn npm@9
init:
- cd ../..
- sed -i -e '/react-native-in-app-review/d' package.json
@ -8385,12 +8376,9 @@ Builds:
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.gz
- echo "8aae62b6b3a5d659459c35c51e4373b950d11595a273db16c6162c712c5533a2 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm -g install yarn
- npm -g install npm@9
- apt-get update
- apt-get install -y npm
- npm -g install yarn npm@9
init:
- cd ../..
- sed -i -e '/react-native-in-app-review/d' package.json

View file

@ -589,7 +589,6 @@ Builds:
versionCode: 91
commit: 7f2444f4c03c32d79abd9e27c2b91c6ee9824df0
sudo:
- apt-get update
- mkdir -p /home/runner/
- chown vagrant /home/runner/
output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk
@ -625,7 +624,6 @@ Builds:
versionCode: 92
commit: 7f2444f4c03c32d79abd9e27c2b91c6ee9824df0
sudo:
- apt-get update
- mkdir -p /home/runner/
- chown vagrant /home/runner/
output: build/app/outputs/flutter-apk/app-x86_64-release.apk
@ -661,7 +659,6 @@ Builds:
versionCode: 93
commit: 7f2444f4c03c32d79abd9e27c2b91c6ee9824df0
sudo:
- apt-get update
- mkdir -p /home/runner/
- chown vagrant /home/runner/
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk