Skip to content

Commit

Permalink
add CI support (#4)
Browse files Browse the repository at this point in the history
* update gtest version

* add ci support
  • Loading branch information
ratanparai authored May 24, 2020
1 parent 07ae6a2 commit fc60a2c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build

# Trigger the workflow on push or pull request
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-16.04

steps:
- uses: actions/checkout@v1

- name: Setup Bazel
uses: abhinavsingh/setup-bazel@v3

- name: Build
run: bazel build //...

- name: Test
run: bazel test //...
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "googletest",
remote = "https://github.com/google/googletest",
tag = "release-1.8.1",
tag = "release-1.10.0",
)

0 comments on commit fc60a2c

Please sign in to comment.