mirror of
https://github.com/google/cpu_features.git
synced 2025-04-30 00:13:37 +02:00
34 lines
705 B
YAML
34 lines
705 B
YAML
# ref: https://github.com/actions/runner-images
|
|
name: amd64 Windows 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: windows-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install Bazel
|
|
run: |
|
|
choco install bazel
|
|
bazel version
|
|
- name: Build
|
|
run: >
|
|
bazel build
|
|
-c opt
|
|
--subcommands=true
|
|
...
|
|
- name: Test
|
|
run: >
|
|
bazel test
|
|
-c opt
|
|
--test_output=errors
|
|
...
|