Skip to content

Commit

Permalink
vsversions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Feb 7, 2024
1 parent ba5bf4f commit 8dea994
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/c-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,20 @@ jobs:
fail-fast: false
matrix:
os:
- windows-latest
- windows-2019

cmake-args:
# - name: 32-bit
# value: -A Win32
- name: 64-bit
value: -A x64

vsversion:
- 2010
- 2013
- 2019
- 2022

std:
# - name: default
# value: ""
Expand All @@ -118,9 +124,13 @@ jobs:
with:
show-progress: 'false'

# - name: Generate project files (cmake)
# run: |
# cmake -S . -B . ${{ matrix.cmake-args.value }} -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER=cl -D CMAKE_C_FLAGS="/WX ${{ matrix.std.value }}"
- name: Configure build for VS ${{ matrix.vsversion }}
uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: ${{ matrix.vsversion }}

- name: Compiler Version
run: cl

- name: Generate project files (cmake)
run: |
Expand Down

0 comments on commit 8dea994

Please sign in to comment.