Skip to content

Commit

Permalink
Use the Visual Studio generator in workflows (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-park authored Mar 7, 2024
1 parent af70505 commit 6c1c525
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
strategy:
fail-fast: false
matrix:
preset: [linux-clang, linux-gcc, macos, windows-ninja]
preset: [linux-clang, linux-gcc, macos, windows]
config: [Debug, Release]
sanitize: [address, thread, undefined, leak, memory]
exclude:
- { preset: linux-gcc, sanitize: memory }
- { preset: macos, sanitize: leak }
- { preset: macos, sanitize: memory }
- { preset: windows-ninja, sanitize: thread }
- { preset: windows-ninja, sanitize: undefined }
- { preset: windows-ninja, sanitize: leak }
- { preset: windows-ninja, sanitize: memory }
- { preset: windows, sanitize: thread }
- { preset: windows, sanitize: undefined }
- { preset: windows, sanitize: leak }
- { preset: windows, sanitize: memory }
include:
- { preset: linux-clang, os: ubuntu-latest }
- { preset: linux-gcc, os: ubuntu-latest }
- { preset: macos, os: macos-latest }
- { preset: windows-ninja, os: windows-latest }
- { preset: windows, os: windows-latest }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -42,17 +42,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ninja-build
- name: Install dependencies
if: runner.os == 'Windows'
run: |
choco install ninja
- name: Choose the latest MSVC toolset
if: runner.os == 'Windows'
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
toolset: 14.38
- name: Configure
run: >
Expand Down

0 comments on commit 6c1c525

Please sign in to comment.