From fc5d64a56d1843c115be7c8a4cdd258ed8114af3 Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Wed, 9 Mar 2022 19:11:21 +0100 Subject: [PATCH] ci: Add amd64 windows bazel job --- .github/workflows/amd64_windows_bazel.yml | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/amd64_windows_bazel.yml diff --git a/.github/workflows/amd64_windows_bazel.yml b/.github/workflows/amd64_windows_bazel.yml new file mode 100644 index 0000000..184a0df --- /dev/null +++ b/.github/workflows/amd64_windows_bazel.yml @@ -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 + ...