Skip to content

Update Eigen version #99

Update Eigen version

Update Eigen version #99

Workflow file for this run

name: Bazel CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_coverage_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Bazel
uses: bazel-contrib/setup-bazel@0.14.0
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
- name: Configure C++ environment
run: |
sudo apt-get update
sudo apt-get install -y build-essential xorg-dev libgl1-mesa-dev lcov
- name: Build, Test, and Generate Coverage
run: |
bazel coverage --combined_report=lcov //...
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
file: "$(bazel info output_path)/_coverage/_coverage_report.dat"
build_macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Bazel
uses: bazel-contrib/setup-bazel@0.14.0
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
- name: Build with Bazel
run: |
bazel build //... --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
- name: Run Tests with Bazel
run: |
bazel test //... --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1