add test_verbose_timeout_warnings #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17.0.1' | |
distribution: 'temurin' | |
- name: Install Bazel | |
run: | | |
sudo apt install apt-transport-https curl gnupg -y | |
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg | |
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list | |
sudo apt update | |
sudo apt install bazel -y | |
# - name: Build with Bazel | |
# run: | | |
# chmod +X build.sh | |
# ./build.sh | |
- name: Test with Bazel | |
continue-on-error: true | |
run: bazel test :all --test_verbose_timeout_warnings | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: /home/runner/.cache/bazel/_bazel_runner/*/execroot/_main/bazel-out/k8-fastbuild/testlogs/ |