From 968be3ee693c9e55ef459f24fb3f8d9116944a59 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 4 Aug 2021 09:25:32 +0200 Subject: [PATCH] try multiple runs in the same container --- .github/workflows/build_bromite.yaml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index 59df711..cf544a5 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -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::" @@ -262,6 +261,11 @@ jobs: 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 + run: | + sleep infinity echo "::group::-------- generating breakpad symbols" autoninja -j $GOMAJOBS -C out/bromite minidump_stackwalk dump_syms