Skip to content

Commit

Permalink
ci: fix bazel build failed on windows (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
4kangjc committed Jun 5, 2023
1 parent f7c0897 commit 9748cb8
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,15 @@ jobs:
run: ctest -C ${{ matrix.mode }} --output-on-failure

build_with_bazel:
runs-on: windows-latest
runs-on: windows-2019

strategy:
matrix:
mode: [ Release ]
arch: [ x86 ]
env:
CXX: cl.exe
CC: cl.exe
steps:
- uses: actions/checkout@v2

- name: Build
working-directory: ${{github.workspace}}
run: bazel build --cxxopt=/std:c++20 ...
run: bazel build ...

- name: Test
working-directory: ${{github.workspace}}
run: bazel test --cxxopt=/std:c++20 --test_output=errors ...
run: bazel test --test_output=errors ...

0 comments on commit 9748cb8

Please sign in to comment.