Skip to content

Commit bbe8998

Browse files
committed
Add GitHub Actions workflow for CI
- Created .github/workflows/ci.yml to automate build and test on push and pull requests. - Used actions/checkout@v6 and bazelbuild/setup-bazelisk@v3.
1 parent 51610bd commit bbe8998

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build_and_test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v6
16+
17+
- name: Set up Bazel
18+
uses: bazelbuild/setup-bazelisk@v3
19+
20+
- name: Build and Test
21+
run: |
22+
export CC=clang
23+
export CXX=clang++
24+
bazelisk test //vxsig/...

0 commit comments

Comments
 (0)