try multiple runs in the same container
This commit is contained in:
parent
228297a813
commit
968be3ee69
22
.github/workflows/build_bromite.yaml
vendored
22
.github/workflows/build_bromite.yaml
vendored
@ -163,15 +163,14 @@ jobs:
|
|||||||
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
||||||
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
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build Bromite
|
- name: Prepare Build Container
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
|
||||||
GOMAJOBS: 60
|
|
||||||
run: |
|
run: |
|
||||||
|
# set workspace paths
|
||||||
export WORKSPACE=/home/lg/working_dir
|
export WORKSPACE=/home/lg/working_dir
|
||||||
|
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
|
# reset proxy env
|
||||||
@ -180,10 +179,6 @@ jobs:
|
|||||||
http_proxy=
|
http_proxy=
|
||||||
https_proxy=
|
https_proxy=
|
||||||
|
|
||||||
# set workspace paths
|
|
||||||
WORKSPACE=/home/lg/working_dir
|
|
||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
|
||||||
|
|
||||||
# clean artifacts
|
# clean artifacts
|
||||||
ARTIFACS_DIR=/home/lg/working_dir/artifacs
|
ARTIFACS_DIR=/home/lg/working_dir/artifacs
|
||||||
sudo chmod 777 $ARTIFACS_DIR
|
sudo chmod 777 $ARTIFACS_DIR
|
||||||
@ -253,7 +248,11 @@ jobs:
|
|||||||
chrome/android/profiles/afdo.prof
|
chrome/android/profiles/afdo.prof
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Build Bromite
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
GOMAJOBS: 60
|
||||||
|
run: |
|
||||||
echo "::group::-------- start build"
|
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 "::endgroup::"
|
||||||
@ -263,6 +262,11 @@ jobs:
|
|||||||
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Wait forever
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sleep infinity
|
||||||
|
|
||||||
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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user