Update build_bromite.yaml

This commit is contained in:
uazo 2021-09-15 15:56:22 +02:00 committed by GitHub
parent 18bf8d6e41
commit c03e54ab48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ jobs:
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
# start goma client
[[ "${{ inputs.usegoma }}" = true ]] && \
[[ "${{ inputs.usegoma }}" = "true ]] && \
echo "::group::-------- start goma client" && \
$WORKSPACE/goma/goma_ctl.py ensure_stop && \
$WORKSPACE/goma/goma_ctl.py ensure_start && \
@ -227,7 +227,7 @@ jobs:
echo "::endgroup::"
echo "::group::-------- gn gen"
[[ "${{ inputs.usegoma }}" = true ]] && \
[[ "${{ inputs.usegoma }}" = "true" ]] && \
gn gen --args="import(\"/home/lg/working_dir/bromite/build/GN_ARGS\") use_goma=true goma_dir=\"$WORKSPACE/goma\" $(cat ../../build_args.gni) " out/bromite \
|| \
gn gen --args="import(\"/home/lg/working_dir/bromite/build/GN_ARGS\") $(cat ../../build_args.gni) " out/bromite
@ -251,7 +251,7 @@ jobs:
fi
echo "::group::-------- pre-cache toolchain"
[[ "${{ inputs.usegoma }}" = true ]] && \
[[ "${{ inputs.usegoma }}" = "true" ]] && \
sudo ../../casupload --cas-server=unix:/tmp/proxy/bots.sock --instance=default_instance \
third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include \
third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/include \
@ -268,14 +268,14 @@ jobs:
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
[[ "${{ inputs.usegoma }}" = true ]] && \
[[ "${{ inputs.usegoma }}" = "true" ]] && \
autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk \
|| \
autoninja -C out/bromite chrome_public_apk
- name: Get goma logs
shell: bash
if: ${{ inputs.usegoma }} = true
if: ${{ inputs.usegoma }} = "true"
run: |
# reset proxy env
HTTP_PROXY=
@ -359,7 +359,7 @@ jobs:
- name: Stop goma
shell: bash
if: ${{ inputs.usegoma }} = true
if: ${{ inputs.usegoma }} = "true"
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