Skip to content

Commit

Permalink
chore: bazel visual studio 17.6 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Jun 19, 2023
1 parent d91889b commit 3f61ef9
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,12 @@ jobs:
- uses: actions/checkout@v3
- uses: jidicula/clang-format-action@v4.9.0
with: { clang-format-version: "15" }
build-windows:
# SEE: https://github.com/bazelbuild/bazel/issues/18592
runs-on: windows-2019
steps:
- uses: actions/cache@v3
with:
path: |
/Users/runneradmin/AppData/Local/bazelisk
/Users/runneradmin/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v3
- run: bazel build --config=ci //...
test-windows:
# SEE: https://github.com/bazelbuild/bazel/issues/18592
runs-on: windows-2019
needs: build-windows

runs-on: windows-latest
steps:
- name: bazel visual studio 17.6+ workaround # https://github.com/bazelbuild/bazel/issues/18592
run: 'rmdir /q /s C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcpkg'
- uses: actions/cache@v3
with:
path: |
Expand All @@ -42,20 +31,8 @@ jobs:
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v3
- run: bazel test --config=ci //...
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
with:
path: |
~/.cache/bazelisk
~/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v3
- run: bazel build --config=ci --config=no-warnings //...
test-linux:
runs-on: ubuntu-latest
needs: build-linux
steps:
- uses: actions/cache@v3
with:
Expand Down

0 comments on commit 3f61ef9

Please # to comment.