mirror of
https://github.com/google/cpu_features.git
synced 2025-04-28 07:23:37 +02:00
ci: Add amd64 windows bazel job
This commit is contained in:
parent
bce3978813
commit
fc5d64a56d
33
.github/workflows/amd64_windows_bazel.yml
vendored
Normal file
33
.github/workflows/amd64_windows_bazel.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# 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
|
||||||
|
...
|
Loading…
x
Reference in New Issue
Block a user