Skip to content

Commit

Permalink
examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Feb 7, 2024
1 parent 9be1ab3 commit 0694435
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/c-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ jobs:
os:
- windows-latest

cmake-args:
- -A Win32
- -A x64

std:
- ""
- /std:c11
Expand All @@ -130,8 +134,9 @@ jobs:

- name: Generate project files (cmake)
run: |
cmake -S . -B . -D CMAKE_BUILD_TYPE=Release -D ZLIB_BUILD_EXAMPLES=OFF
cmake -S . -B . ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=Release
env:
CC: cl
CFLAGS: ${{ matrix.std }} /WX

- name: Compile source code (cmake)
Expand Down

0 comments on commit 0694435

Please sign in to comment.