Skip to content

Commit

Permalink
gh actions: switch to ninja and latest msvc toolchain to make asan work
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Dec 29, 2023
1 parent c07cef1 commit a289f9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
type: [Debug, RelWithDebInfo]
steps:
- name: Clone
Expand All @@ -23,8 +23,11 @@ jobs:
# vcvars will add them to PATH and allow msvc asan executables to run
if: matrix.os == 'windows-latest'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
toolset: 14.38.33130
- name: Configure
run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DSAN_ADDR=1
run: cmake . -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DSAN_ADDR=1
- name: Build
run: cmake --build . --config ${{ matrix.type }}
- name: Test
Expand Down

0 comments on commit a289f9b

Please sign in to comment.