From f2f2dec7280e37696550185f291d51cf9e47e281 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 18 May 2020 14:51:53 -0700 Subject: [PATCH] Add simplified badge and Build workflow. PiperOrigin-RevId: 312159017 --- .github/workflows/build.yml | 21 +++++++++++++++++++++ README.md | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..cf782a580 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: "Build" +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + default: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.cache/bazel + key: ${{ runner.os }}-bazel-${{ hashFiles('WORKSPACE') }} + restore-keys: | + ${{ runner.os }}-bazel- + - run: make diff --git a/README.md b/README.md index 04131977f..b1ed3b4ce 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ![gVisor](g3doc/logo.png) -[![Status](https://storage.googleapis.com/gvisor-build-badges/build.svg)](https://storage.googleapis.com/gvisor-build-badges/build.html) -[![gVisor chat](https://badges.gitter.im/gvisor/community.png)](https://gitter.im/gvisor/community) +![](https://github.com/google/gvisor/workflows/Build/badge.svg) ## What is gVisor?