Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikea committed Dec 23, 2024
1 parent 0b1480c commit 4a577ee
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.0.0
36 changes: 36 additions & 0 deletions .github/workflows/ubuntu-bazel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Ubuntu 22.04

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ubuntu-build:
runs-on: ubuntu-22.04
strategy:
matrix:
shared: [ON, OFF]
cxx: [g++-12, clang++-14]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: bazelbuild/setup-bazelisk@v3
- name: Build & Test
run: bazel test //...
env:
CXX: ${{matrix.cxx}}

0 comments on commit 4a577ee

Please sign in to comment.