aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2023-08-28 13:36:47 +0000
committerMizux <mizux.dev@gmail.com>2023-08-30 13:19:47 +0200
commit5d97a14addf639c08ade88ee6b90dd6bdf034701 (patch)
tree89f5d7d81cf4589a7cb7e1472685cc6e10b781e7
parentbe65a3d148df36cbbdbcd16dcd7ad3cf7eb76371 (diff)
downloadcpu_features-5d97a14addf639c08ade88ee6b90dd6bdf034701.tar.gz
Add aarch64 ubuntu bot
-rw-r--r--.github/workflows/aarch64_linux_bazel.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/aarch64_linux_bazel.yml b/.github/workflows/aarch64_linux_bazel.yml
new file mode 100644
index 0000000..9374698
--- /dev/null
+++ b/.github/workflows/aarch64_linux_bazel.yml
@@ -0,0 +1,26 @@
+name: AArch64 Linux Bazel
+
+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=arm64] 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 //...