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
|
||||
volumes:
|
||||
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
||||
- /tmp/proxy:/tmp/proxy
|
||||
|
||||
steps:
|
||||
- name: Build Bromite
|
||||
- name: Prepare Build Container
|
||||
shell: bash
|
||||
env:
|
||||
GOMAJOBS: 60
|
||||
run: |
|
||||
# set workspace paths
|
||||
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
|
||||
|
||||
# reset proxy env
|
||||
@ -180,10 +179,6 @@ jobs:
|
||||
http_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
|
||||
ARTIFACS_DIR=/home/lg/working_dir/artifacs
|
||||
sudo chmod 777 $ARTIFACS_DIR
|
||||
@ -253,7 +248,11 @@ jobs:
|
||||
chrome/android/profiles/afdo.prof
|
||||
echo "::endgroup::"
|
||||
|
||||
|
||||
- name: Build Bromite
|
||||
shell: bash
|
||||
env:
|
||||
GOMAJOBS: 60
|
||||
run: |
|
||||
echo "::group::-------- start build"
|
||||
autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk
|
||||
echo "::endgroup::"
|
||||
@ -263,6 +262,11 @@ jobs:
|
||||
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Wait forever
|
||||
shell: bash
|
||||
run: |
|
||||
sleep infinity
|
||||
|
||||
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