add install-build-deps-android after download
This commit is contained in:
parent
d1e273bb95
commit
57fabd9b04
@ -29,8 +29,9 @@ echo -e ${RED} -------- set envs ${NC}
|
||||
PATH=$PWD/chromium/src/third_party/llvm-build/Release+Asserts/bin:$PWD/depot_tools/:/usr/local/go/bin:$PATH
|
||||
|
||||
echo -e ${RED} -------- download chromium pre-prepared ${NC}
|
||||
rm chromium.$VERSION.tar.gz
|
||||
lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; get chromium.$VERSION.tar.gz; quit" && OK=1 || OK=0
|
||||
#rm chromium.$VERSION.tar.gz
|
||||
wget -qO- ftp://$FTP_USER:$FTP_PWD@$FTP_HOST/bromite/chromium.$VERSION.tar.gz | tar xz - && OK=1 || OK=0
|
||||
#lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; get chromium.$VERSION.tar.gz; quit" && OK=1 || OK=0
|
||||
if [[ OK -eq 0 ]]; then
|
||||
echo -e ${RED} -------- not found ${NC}
|
||||
|
||||
@ -88,9 +89,12 @@ if [[ OK -eq 0 ]]; then
|
||||
echo -e ${RED} -------- uploading to storage ${NC}
|
||||
lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; put chromium.$VERSION.tar.gz; quit"
|
||||
else
|
||||
echo -e ${RED} -------- unpacking ${NC}
|
||||
echo -e ${RED} -------- unpacked ${NC}
|
||||
|
||||
tar xf chromium.$VERSION.tar.gz
|
||||
echo -e ${RED} -------- running install-build-deps-android ${NC}
|
||||
sudo chromium/src/build/install-build-deps-android.sh
|
||||
|
||||
#tar xf chromium.$VERSION.tar.gz
|
||||
fi
|
||||
|
||||
rm chromium.$VERSION.tar.gz
|
||||
|
@ -7,8 +7,6 @@ NC='\033[0m' # No Color
|
||||
# GITHUB_SHA=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.sha)
|
||||
#fi
|
||||
|
||||
sudo apt-get install -y libxkbcommon-dev
|
||||
|
||||
echo -e ${RED} -------- set envs ${NC}
|
||||
PATH=$PWD/chromium/src/third_party/llvm-build/Release+Asserts/bin:$PWD/depot_tools/:/usr/local/go/bin:$PATH
|
||||
|
||||
|
@ -1,9 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
RED='\033[0;31m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
#export GOPATH=~/go
|
||||
#export GOCACHE=~/go
|
||||
export REDISHOST=localhost
|
||||
|
||||
echo -e ${RED} -------- cloning goma-server ${NC}
|
||||
|
||||
git clone https://github.com/uazo/goma-server
|
||||
|
||||
echo -e ${RED} -------- start goma-server ${NC}
|
||||
|
||||
cd ./goma-server/
|
||||
go run ./cmd/remoteexec_proxy/main.go --port 5050 --remoteexec-addr $REMOTEEXEC_ADDR --remote-instance-name default_instance --insecure-remoteexec --allowed-users ppp --exec-config-file "./config-file" --exec-check-cache-timeout 30s --exec-max-retry-count 50 --exec-execute-timeout 600s >log.txt 2>&1 &
|
||||
|
Loading…
Reference in New Issue
Block a user