aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Freilich <sfreilich@google.com>2022-03-03 14:07:40 -0500
committerSamuel Freilich <sfreilich@google.com>2022-03-03 14:26:04 -0500
commit79876b4cf6f78414af81ca54143da08d91432471 (patch)
tree13ab6decd60ef2a3ead9591318c311ef1db945da
parent9fa6a1321936f2555f00383c9b40f09f037211d7 (diff)
downloadink-stroke-modeler-79876b4cf6f78414af81ca54143da08d91432471.tar.gz
Add Bazel CI with GitHub actions
Runs bazel test on PR creation / merge. PiperOrigin-RevId: 432236222
-rw-r--r--.github/workflows/bazel-test.yaml17
-rw-r--r--CMakeLists (renamed from CMakeLists.txt)0
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/bazel-test.yaml b/.github/workflows/bazel-test.yaml
new file mode 100644
index 0000000..5178220
--- /dev/null
+++ b/.github/workflows/bazel-test.yaml
@@ -0,0 +1,17 @@
+name: BazelTest
+
+on:
+ push:
+ branches: [ $default-branch ]
+ pull_request:
+ branches: [ $default-branch ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Test
+ run: bazel test --test_output=errors //...
diff --git a/CMakeLists.txt b/CMakeLists
index 924a88a..924a88a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists