diff options
author | Mizux Seiha <mizux.dev@gmail.com> | 2022-03-09 21:11:21 +0300 |
---|---|---|
committer | Corentin Le Molgat <corentinl@google.com> | 2022-10-26 18:37:42 +0300 |
commit | 3191d951fe873736818ccca9742516bef58506b9 (patch) | |
tree | 89e6c6d2a0857a2b28c834ec270750362719af8a | |
parent | bddcc3721c7ab1f88094617fb28572b771e77d6f (diff) |
ci: Add linux bazel jobmizux/main
-rw-r--r-- | .github/workflows/amd64_bazel_linux.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/amd64_bazel_linux.yml b/.github/workflows/amd64_bazel_linux.yml new file mode 100644 index 0000000..6a1add3 --- /dev/null +++ b/.github/workflows/amd64_bazel_linux.yml @@ -0,0 +1,26 @@ +name: amd64 Bazel Linux + +on: + push: + pull_request: + schedule: + # min hours day(month) month day(week) + - cron: '0 0 7,22 * *' + +jobs: + # Building using the github runner environement directly. + bazel: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v2 + - name: Install Bazel + run: | + curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg + sudo mv bazel.gpg /etc/apt/trusted.gpg.d/ + echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list + sudo apt-get update + sudo apt-get install bazel + bazel --version + - name: Test + run: bazel test -s --verbose_failures //... |