Skip to content

Commit

Permalink
chore(ci): macOS should not error on deprecated-declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Benden <joe@benden.us>
  • Loading branch information
jbenden committed Nov 8, 2021
1 parent 120a8e6 commit c80ca96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
clang-12)
CC=clang
CXX=clang++
export CFLAGS="-Wno-zero-length-array"
export CXXFLAGS="-Wno-zero-length-array"
export CFLAGS="-Wno-zero-length-array -Wno-deprecated-declarations"
export CXXFLAGS="-Wno-zero-length-array -Wno-deprecated-declarations"
;;
clang-11)
CC=$(brew --prefix llvm)/bin/clang
CXX=$(brew --prefix llvm)/bin/clang++
export CFLAGS="-Wno-zero-length-array"
export CXXFLAGS="-Wno-zero-length-array"
export CFLAGS="-Wno-zero-length-array -Wno-deprecated-declarations"
export CXXFLAGS="-Wno-zero-length-array -Wno-deprecated-declarations"
;;
*)
CC=${{ matrix.compiler.cc }}
Expand Down

0 comments on commit c80ca96

Please sign in to comment.