Skip to content

Commit

Permalink
Tune for Windows CI: C11 is broken, so switch to C99 and requests ISO…
Browse files Browse the repository at this point in the history
… C compatible printf function.
  • Loading branch information
P-p-H-d committed Dec 16, 2019
1 parent e77ff24 commit f0d3e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: choco install mingw --no-progress
- name: make
shell: bash
run: mingw32-make CC="gcc -std=c11"
run: mingw32-make CC="gcc -std=c99 -D__USE_MINGW_ANSI_STDIO=1"
- name: make check
shell: bash
run: mingw32-make CC="gcc -std=c11" check
run: mingw32-make CC="gcc -std=c99 -D__USE_MINGW_ANSI_STDIO=1" check

0 comments on commit f0d3e93

Please sign in to comment.