fastererer arm build

This commit is contained in:
Freddie Wang
2021-04-10 11:24:14 +08:00
parent f79530e00d
commit efc99cbf5e
4 changed files with 3 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ jobs:
apt install -y curl zip
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt install -y nodejs
npx
run: |
bash build-arm-build.sh
- run: bash build-arm-post.sh

View File

@@ -1,5 +1,4 @@
#!/bin/bash
echo "Packing binaries"
cd ..
npx pkg ./build-env -t node10.15.3-linux-armv7 -o ./build/asphyxia-core --options no-warnings

View File

@@ -2,7 +2,7 @@
mkdir -p build
regex='VERSION = '"'"'(.*)'"'"''
regex='VERSION = '"'"'([a-z0-9.]*)'"'"''
[[ $(cat ./src/utils/Consts.ts) =~ $regex ]]
VERSION=${BASH_REMATCH[1]}

View File

@@ -2,7 +2,7 @@
mkdir -p build
regex='VERSION = '"'"'(.*)'"'"''
regex='VERSION = '"'"'([a-z0-9.]*)'"'"''
[[ $(cat ./src/utils/Consts.ts) =~ $regex ]]
VERSION=${BASH_REMATCH[1]}