Skip to content

Commit

Permalink
ci: Add a bazel test step to the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Feb 7, 2024
1 parent 15e5569 commit cda3e61
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: CI

on: [push, pull_request]

jobs:
test:
strategy:
Expand Down Expand Up @@ -29,3 +31,15 @@ jobs:
run: scons distcheck
env:
CC: ${{ matrix.compiler }}

bazel_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v3
- name: mount bazel cache
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: bazel
- run: bazel test //...

0 comments on commit cda3e61

Please sign in to comment.