Skip to content

Commit 3f61ef9

Browse files
committed
chore: bazel visual studio 17.6 workaround
1 parent d91889b commit 3f61ef9

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,12 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- uses: jidicula/[email protected]
1919
with: { clang-format-version: "15" }
20-
build-windows:
21-
# SEE: https://github.com/bazelbuild/bazel/issues/18592
22-
runs-on: windows-2019
23-
steps:
24-
- uses: actions/cache@v3
25-
with:
26-
path: |
27-
/Users/runneradmin/AppData/Local/bazelisk
28-
/Users/runneradmin/.cache/bazel-disk-cache
29-
key: ${{runner.os}}-bazel-cache
30-
- uses: actions/checkout@v3
31-
- run: bazel build --config=ci //...
3220
test-windows:
33-
# SEE: https://github.com/bazelbuild/bazel/issues/18592
34-
runs-on: windows-2019
35-
needs: build-windows
21+
22+
runs-on: windows-latest
3623
steps:
24+
- name: bazel visual studio 17.6+ workaround # https://github.com/bazelbuild/bazel/issues/18592
25+
run: 'rmdir /q /s C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcpkg'
3726
- uses: actions/cache@v3
3827
with:
3928
path: |
@@ -42,20 +31,8 @@ jobs:
4231
key: ${{runner.os}}-bazel-cache
4332
- uses: actions/checkout@v3
4433
- run: bazel test --config=ci //...
45-
build-linux:
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: actions/cache@v3
49-
with:
50-
path: |
51-
~/.cache/bazelisk
52-
~/.cache/bazel-disk-cache
53-
key: ${{runner.os}}-bazel-cache
54-
- uses: actions/checkout@v3
55-
- run: bazel build --config=ci --config=no-warnings //...
5634
test-linux:
5735
runs-on: ubuntu-latest
58-
needs: build-linux
5936
steps:
6037
- uses: actions/cache@v3
6138
with:

0 commit comments

Comments
 (0)