try multiple runs in the same container

This commit is contained in:
uazo 2021-08-04 09:25:32 +02:00 committed by GitHub
parent 228297a813
commit 968be3ee69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \