1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 23:22:31 +02:00
cpu_features/.github/workflows/amd64_macos_bazel.yml
Mykola Hohsadze c6bb479895
Update amd64 macos workflow to use X86 arch (#355)
* Update AMD64 macos workflow to use X86 arch

* Set macos-13 for nmake in amd64_macos_cmake.yml

* Add comment after macos-13
2024-08-28 10:43:24 +02:00

37 lines
848 B
YAML

# ref: https://github.com/actions/runner-images
name: amd64 MacOS 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: macos-13 # Using x86 processors, ref: https://github.com/actions/runner-images
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bazel
run: |
brew update
brew unlink bazelisk
brew install bazel
- name: Check Bazel
run: bazel version
- name: Build
run: >
bazel build
-c opt
--subcommands=true
...
- name: Test
run: >
bazel test
-c opt
--test_output=errors
...