Update build_bromite.yaml
This commit is contained in:
parent
1876342608
commit
65027daa17
20
.github/workflows/build_bromite.yaml
vendored
20
.github/workflows/build_bromite.yaml
vendored
@ -163,6 +163,10 @@ jobs:
|
||||
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
||||
WORKSPACE: /home/lg/working_dir
|
||||
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
||||
HTTP_PROXY: ""
|
||||
HTTPS_PROXY: ""
|
||||
http_proxy: ""
|
||||
https_proxy: ""
|
||||
volumes:
|
||||
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
||||
- /tmp/proxy:/tmp/proxy
|
||||
@ -175,12 +179,6 @@ jobs:
|
||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||
cd $WORKSPACE
|
||||
|
||||
# reset proxy env
|
||||
HTTP_PROXY=
|
||||
HTTPS_PROXY=
|
||||
http_proxy=
|
||||
https_proxy=
|
||||
|
||||
# clean artifacts
|
||||
sudo chmod 777 $ARTIFACS_DIR
|
||||
rm -rf $ARTIFACS_DIR/*
|
||||
@ -257,14 +255,12 @@ jobs:
|
||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||
cd $WORKSPACE/chromium/src
|
||||
|
||||
echo "::group::-------- start build"
|
||||
autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "::group::-------- get goma logs"
|
||||
- name: Get goma logs
|
||||
shell: bash
|
||||
run: |
|
||||
wget http://127.0.0.1:8088/logz?INFO -O $ARTIFACS_DIR/goma-client.log
|
||||
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Wait forever
|
||||
shell: bash
|
||||
@ -274,6 +270,8 @@ jobs:
|
||||
|
||||
sleep infinity
|
||||
|
||||
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||
|
||||
echo "::group::-------- generating breakpad symbols"
|
||||
autoninja -j $GOMAJOBS -C out/bromite minidump_stackwalk dump_syms
|
||||
components/crash/content/tools/generate_breakpad_symbols.py --build-dir=out/bromite \
|
||||
|
Loading…
Reference in New Issue
Block a user