Install nodejs binary

This commit is contained in:
linsui 2022-10-12 20:19:43 +08:00
parent 3756d0c948
commit 83b2a24e3a
7 changed files with 38 additions and 92 deletions

View file

@ -343,14 +343,14 @@ Builds:
- versionName: 1.4.9
versionCode: 30
commit: 214ee90eee57a9928b95aacdfa07c1f8eb76b7a0
commit: 8883a2712c9ba4c63ad4f0897f18968e435843cb
subdir: android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y -t testing yarnpkg
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
init:
- cd ../..
@ -398,7 +398,7 @@ Builds:
- node_modules/
ndk: r21e
AutoUpdateMode: Version v%v
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.4.9
CurrentVersionCode: 30

View file

@ -904,12 +904,12 @@ Builds:
commit: 2e1e84ac6f8d6a1c386407cdedf90ff1bddfcf77
subdir: android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y -t testing yarnapk
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
init: yarn install
gradle:
- yes

View file

@ -662,11 +662,11 @@ Builds:
commit: 64adc5b35eae032ee87d00086f135de08f707194
subdir: Nunti/android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -t testing npm yarnpkg
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
init:
- cd ../..

View file

@ -7501,72 +7501,18 @@ Builds:
- popd
ndk: r21e
- versionName: 3.41.5
versionCode: 3000542
commit: '@standardnotes/mobile@3.41.5'
subdir: packages/mobile/android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y libsecret-1-dev build-essential
- apt-get install -t testing npm yarnpkg
- sysctl fs.inotify.max_user_watches=524288 || true
init:
- pushd ../../../..
- npm_config_build_from_source=true yarn --immutable
- popd
- pushd ../..
- npm_config_build_from_source=true yarn --immutable
- yarn remove react-native-store-review
- popd
patch:
- disable-splits-abi.patch
- remove-gms.patch
gradle:
- prod
rm:
- packages/desktop
prebuild: sed -i -e '/detox/Id' -e 's/versionName appVersionName/versionName "$$VERSION$$"/'
-e 's/versionCode appVersionCode/versionCode $$VERCODE$$/' build.gradle
scanignore:
- packages/mobile/android/build.gradle
- packages/mobile/node_modules/hermes-engine
- packages/mobile/node_modules/jsc-android
- packages/mobile/node_modules/react-native
- packages/mobile/node_modules/detox/android/build.gradle
- packages/mobile/node_modules/detox/android/detox/publishing.gradle
- packages/mobile/node_modules/@react-native-community/async-storage/android/build.gradle
- packages/mobile/node_modules/@react-native-community/masked-view/android/build.gradle
- packages/mobile/node_modules/@standardnotes/react-native-utils/android/build.gradle
- packages/mobile/node_modules/@standardnotes/react-native-textview/android/build.gradle
- packages/mobile/node_modules/@standardnotes/react-native-aes/android/build.gradle
scandelete:
- node_modules/
- packages/mobile/node_modules
- packages/components/dist
- .yarn/
build:
- pushd ../../../..
- yarn run build:mobile
- popd
- pushd ../..
- yarn run android:bundle
- popd
ndk: r21e
- versionName: 3.42.1
versionCode: 3000549
commit: '@standardnotes/mobile@3.42.1'
subdir: packages/mobile/android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y libsecret-1-dev build-essential
- apt-get install -t testing npm yarnpkg
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
init:
- pushd ../../../..

View file

@ -2153,12 +2153,13 @@ Builds:
commit: e1cc5b3410223db88a4941a7c1e1363ebd0db337
subdir: app-android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y -t testing npm
- apt-get install -y g++
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- sysctl fs.inotify.max_user_watches=524288 || true
gradle:
- fdroid
rm:

View file

@ -1051,15 +1051,15 @@ Builds:
commit: f6411d673fde8cb18509fc19322607a84a9b5b1f
subdir: vector-app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y jq libopus0 make g++ cmake
- apt-get install -y -t testing npm
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- sysctl fs.inotify.max_user_watches=524288 || true
- cd /opt/android-sdk/ndk
- rm -fr $(ls | sed 's/21.3.6528147//')
- sysctl fs.inotify.max_user_watches=524288 || true
patch:
- build_gradle_remove_jitsi_repo_40104160.patch
gradle:

View file

@ -936,12 +936,11 @@ Builds:
commit: 60eeb52bc4395fd726e7b0178e30a339fac48e12
subdir: android/app
sudo:
- echo "deb https://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list
- echo -e "Package:*\nPin:release o=Debian,a=testing\nPin-Priority:-300\n" >
/etc/apt/preferences.d/debian-testing
- apt-get update
- apt-get install -y -t testing npm
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz
- echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- sysctl fs.inotify.max_user_watches=524288 || true
init: npm install
gradle:
- yes