Skip to content

ci: add arm64 MacOS #29

ci: add arm64 MacOS

ci: add arm64 MacOS #29

Workflow file for this run

# ref: https://github.com/actions/runner-images
name: amd64 Linux
on: [push, pull_request, workflow_dispatch]
# Building using the github runner environement directly.
jobs:
native:
name: Linux • Bazel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
- name: Check Bazel
run: bazel version
- name: Build
run: >
bazel build
-c opt
--subcommands=pretty_print
...
- name: Test
run: >
bazel test
-c opt
--test_output=errors
...