Update build_bromite.yaml
This commit is contained in:
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
|
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
||||||
WORKSPACE: /home/lg/working_dir
|
WORKSPACE: /home/lg/working_dir
|
||||||
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
||||||
|
HTTP_PROXY: ""
|
||||||
|
HTTPS_PROXY: ""
|
||||||
|
http_proxy: ""
|
||||||
|
https_proxy: ""
|
||||||
volumes:
|
volumes:
|
||||||
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
||||||
- /tmp/proxy:/tmp/proxy
|
- /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
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
|
||||||
# reset proxy env
|
|
||||||
HTTP_PROXY=
|
|
||||||
HTTPS_PROXY=
|
|
||||||
http_proxy=
|
|
||||||
https_proxy=
|
|
||||||
|
|
||||||
# clean artifacts
|
# clean artifacts
|
||||||
sudo chmod 777 $ARTIFACS_DIR
|
sudo chmod 777 $ARTIFACS_DIR
|
||||||
rm -rf $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
|
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
|
cd $WORKSPACE/chromium/src
|
||||||
|
|
||||||
echo "::group::-------- start build"
|
|
||||||
autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk
|
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
|
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
|
- name: Wait forever
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -274,6 +270,8 @@ jobs:
|
|||||||
|
|
||||||
sleep infinity
|
sleep infinity
|
||||||
|
|
||||||
|
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||||
|
|
||||||
echo "::group::-------- generating breakpad symbols"
|
echo "::group::-------- generating breakpad symbols"
|
||||||
autoninja -j $GOMAJOBS -C out/bromite minidump_stackwalk dump_syms
|
autoninja -j $GOMAJOBS -C out/bromite minidump_stackwalk dump_syms
|
||||||
components/crash/content/tools/generate_breakpad_symbols.py --build-dir=out/bromite \
|
components/crash/content/tools/generate_breakpad_symbols.py --build-dir=out/bromite \
|
||||||
|
Reference in New Issue
Block a user