Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Visual Studio generator in workflows #7

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 6 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
strategy:
fail-fast: false
matrix:
preset: [linux-clang, linux-gcc, macos, windows-ninja]
preset: [linux-clang, linux-gcc, macos, windows]
config: [Debug, Release]
abstract: [OFF, ON]
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 @@ -34,17 +34,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ninja-build
- name: Install dependencies on Windows
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