move goma env to build

This commit is contained in:
Your Name 2021-05-31 13:17:32 +00:00
parent bbfe6f3c46
commit 9abb7ef434
2 changed files with 13 additions and 13 deletions

View File

@ -5,17 +5,5 @@ PATH=$GITHUB_WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$
cipd install infra/goma/client/linux-amd64 -root $GITHUB_WORKSPACE/goma
cat "nomatter" >$GITHUB_WORKSPACE/.debug_auth_file
echo "nomatter" >$GITHUB_WORKSPACE/.debug_auth_file
sudo cp $GITHUB_WORKSPACE/bromite-buildtools/goma_auth.py $GITHUB_WORKSPACE/goma/
export GOMA_SERVER_HOST=127.0.0.1
export GOMA_SERVER_PORT=5050
export GOMA_USE_SSL=false
export GOMA_HTTP_AUTHORIZATION_FILE=$GITHUB_WORKSPACE/.debug_auth_file
export GOMA_HERMETIC=error
export GOMA_USE_LOCAL=false
export GOMA_FALLBACK=true
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_stop
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_start

View File

@ -16,6 +16,18 @@ bash ./bromite-buildtools/start-goma-server.sh
bash ./bromite-buildtools/setup-goma-client.sh
bash ./bromite-buildtools/start_proxy.sh
export GOMA_SERVER_HOST=127.0.0.1
export GOMA_SERVER_PORT=5050
export GOMA_USE_SSL=false
export GOMA_HTTP_AUTHORIZATION_FILE=$GITHUB_WORKSPACE/.debug_auth_file
export GOMA_HERMETIC=error
export GOMA_USE_LOCAL=false
export GOMA_FALLBACK=true
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_stop
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_start
cd chromium/src
echo -e ${RED} -------- gn gen ${NC}