Update build_bromite.yaml

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

View File

@ -230,8 +230,7 @@ jobs:
[[ "${{ 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\") 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 \ gn gen --args="import(\"/home/lg/working_dir/bromite/build/GN_ARGS\") $(cat ../../build_args.gni) " out/bromite
echo "::endgroup::" echo "::endgroup::"
echo "::group::-------- gn args" echo "::group::-------- gn args"
@ -251,17 +250,17 @@ jobs:
GOMAJOBS=40 GOMAJOBS=40
fi fi
echo "::group::-------- pre-cache toolchain"
[[ "${{ inputs.usegoma }}" = true ]] && \ [[ "${{ inputs.usegoma }}" = true ]] && \
echo "::group::-------- pre-cache toolchain" && \
sudo ../../casupload --cas-server=unix:/tmp/proxy/bots.sock --instance=default_instance \ 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/sysroot/usr/include \
third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/include \ third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/include \
third_party/llvm-build/Release+Asserts/lib \ third_party/llvm-build/Release+Asserts/lib \
third_party/llvm-build/Release+Asserts/bin \ third_party/llvm-build/Release+Asserts/bin \
buildtools/third_party/libc++ \ buildtools/third_party/libc++ \
chrome/android/profiles/afdo.prof && \ chrome/android/profiles/afdo.prof \
echo "::endgroup::"
|| true || true
echo "::endgroup::"
- name: Build Bromite - name: Build Bromite
shell: bash shell: bash
@ -272,7 +271,7 @@ jobs:
[[ "${{ inputs.usegoma }}" = true ]] && \ [[ "${{ inputs.usegoma }}" = true ]] && \
autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk \ autoninja -j $GOMAJOBS -C out/bromite chrome_public_apk \
|| \ || \
autoninja -C out/bromite chrome_public_apk || autoninja -C out/bromite chrome_public_apk
- name: Get goma logs - name: Get goma logs
shell: bash shell: bash