misc fixes

This commit is contained in:
linsui 2023-06-29 15:58:33 +08:00
parent 74a40db8b0
commit 722fa6daf0
5 changed files with 16 additions and 8 deletions

View file

@ -158,14 +158,14 @@ Builds:
submodules: true
sudo:
- sysctl fs.inotify.max_user_watches=524288
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
- apt-get install -y nodejs
init:
- cd ../..
- cp config.js graphhopper-maps/
- cd graphhopper-maps
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.20.1/node-v16.20.1-linux-x64.tar.gz
- echo "c76d2aabd2d02542505fd24e18876fb8515e23638531249277272def42ab54e3 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
prebuild:
- cd ../../graphhopper-maps
- cp ../config.js ./
- npm install
- sed -i -e 's/gitSHA\ =/gitSHA\ ="1"\/\//g' webpack.common.js
- npm run build
- mv dist/bundle.*.js dist/bundle.js
- cd ..

View file

@ -109,6 +109,8 @@ Builds:
- full
- fdroid
prebuild: sed -i -e '/firebase/d' ../build.gradle
scandelete:
- app/src/main/jniLibs
AutoUpdateMode: Version
UpdateCheckMode: Tags

View file

@ -70,6 +70,7 @@ Builds:
- versionName: 0.5.13
versionCode: 9
disable: https://github.com/sz3/cfc/issues/20
commit: a7190cefe536cd010245b23908a4be08e5b92406
subdir: app
sudo:

View file

@ -43,7 +43,8 @@ Builds:
subdir: app
sudo:
- apt-get update
- apt-get install -y libncurses5
- apt-get install -y libncurses5 openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- yes

View file

@ -26,6 +26,10 @@ Builds:
versionCode: 22
commit: c6594b28ee7bff7c8c338de68a7fa9fa6209f63f
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- yes