Skip to content

Commit

Permalink
Try set /std:c11 on msvc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 4, 2024
1 parent ec3eea3 commit 5cc8780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
dir cddlib/lib-src/
if ("${{ matrix.architecture }}" -eq "x86") { $platform = "Win32" } else { $platform = "x64" }
mkdir dist -Force
python -m build --wheel -C="--global-option=build_ext" -C="--global-option=-I$platform/Release/" -C="--global-option=-L$platform/Release/" .
python -m build --wheel -C="--global-option=build_ext" -C="--global-option=-I$platform/Release/" -C="--global-option=-L$platform/Release/" -C="--global-option=-std:c11" .
- name: Check files
run: twine check dist/*
- name: Upload wheel
Expand Down

0 comments on commit 5cc8780

Please sign in to comment.