ci: try to fix CI failures #74
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: Bazel Build | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup bazel | |
# FIXME: Bazel 7.0+ support. | |
run: | | |
rm -rf /usr/local/bin/bazel | |
wget https://github.com/bazelbuild/bazel/releases/download/6.5.0/bazel-6.5.0-linux-x86_64 -O /usr/local/bin/bazel | |
chmod +x /usr/local/bin/bazel | |
- name: Build | |
# Build your program with clang | |
working-directory: ${{github.workspace}} | |
run: bazel build ... | |
- name: Test | |
# Build and Execute tests | |
working-directory: ${{github.workspace}} | |
run: bazel test --test_output=errors ... |