Update build_bromite.yaml
This commit is contained in:
parent
7c0faf0d80
commit
1876342608
10
.github/workflows/build_bromite.yaml
vendored
10
.github/workflows/build_bromite.yaml
vendored
@ -161,6 +161,8 @@ jobs:
|
|||||||
REMOVEDOCKERSUPPORT: true # CUSTOM RUNNER: remove sharing of docker socket
|
REMOVEDOCKERSUPPORT: true # CUSTOM RUNNER: remove sharing of docker socket
|
||||||
USELOCALIMAGE: true # CUSTOM RUNNER: permit use of local images
|
USELOCALIMAGE: true # CUSTOM RUNNER: permit use of local images
|
||||||
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
|
||||||
|
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
||||||
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
|
||||||
@ -170,7 +172,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# set workspace paths
|
# 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
|
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
|
||||||
|
|
||||||
@ -181,7 +182,6 @@ jobs:
|
|||||||
https_proxy=
|
https_proxy=
|
||||||
|
|
||||||
# clean artifacts
|
# clean artifacts
|
||||||
ARTIFACS_DIR=/home/lg/working_dir/artifacs
|
|
||||||
sudo chmod 777 $ARTIFACS_DIR
|
sudo chmod 777 $ARTIFACS_DIR
|
||||||
rm -rf $ARTIFACS_DIR/*
|
rm -rf $ARTIFACS_DIR/*
|
||||||
|
|
||||||
@ -254,6 +254,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GOMAJOBS: 60
|
GOMAJOBS: 60
|
||||||
run: |
|
run: |
|
||||||
|
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
|
||||||
|
|
||||||
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::"
|
||||||
@ -266,6 +269,9 @@ jobs:
|
|||||||
- name: Wait forever
|
- name: Wait forever
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
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
|
||||||
|
|
||||||
sleep infinity
|
sleep infinity
|
||||||
|
|
||||||
echo "::group::-------- generating breakpad symbols"
|
echo "::group::-------- generating breakpad symbols"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user