Skip to content

Commit

Permalink
Ignore deprecated declarations on mac OS, namely sprintf.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxik committed Sep 11, 2024
1 parent 9f9ba89 commit b618e8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ jobs:
platform: win-vs-64
- os: macos-13
platform: macos-clang-64
c_flags: -Wnodeprecated-declarations
- os: macos-14
platform: macos-clang-arm64
c_flags: -Wnodeprecated-declarations

steps:
- uses: actions/checkout@v3
Expand All @@ -54,7 +56,7 @@ jobs:
- name: Compile src
run: make PLATFORM=${{ matrix.platform }} -k -C src full
env:
C_FLAGS: $(treat_warnings_as_errors)
C_FLAGS: $(treat_warnings_as_errors) ${{ matrix.c_flags }}

- name: Compile tests
run: make PLATFORM=${{ matrix.platform }} -k -C tests all

0 comments on commit b618e8c

Please sign in to comment.