From 24898650b1cdefb5b4def72a3ff213c24aaf2b44 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Wed, 20 Oct 2021 15:18:49 -0700 Subject: [PATCH] Start a simple github actions CI Running on major platforms. Signed-off-by: Henner Zeller --- .github/workflows/gtest-ci.yml | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/gtest-ci.yml diff --git a/.github/workflows/gtest-ci.yml b/.github/workflows/gtest-ci.yml new file mode 100644 index 00000000..61fd47e2 --- /dev/null +++ b/.github/workflows/gtest-ci.yml @@ -0,0 +1,40 @@ +name: ci + +on: + push: + pull_request: + +jobs: + Linux: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Tests + run: bazel test --test_output=errors //... + + MacOs: + runs-on: macos-latest + steps: + + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Tests + run: bazel test --test_output=errors //... + + + Windows: + runs-on: windows-latest + steps: + + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Tests + run: bazel test --test_output=errors //...