-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #376 from Mizux/bazel_windows
* ci: Add amd64 windows bazel job * bazel: Fix windows build * bazel: disable ndk_compat on windows * readme: Add and64_windows_bazel badge
- Loading branch information
Showing
3 changed files
with
55 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters