Skip to content

Commit

Permalink
CI: do not fail macOS on -Wdeprecated-non-prototype (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Mar 17, 2023
1 parent 35192ef commit d10ac4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/macos_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export CXXFLAGS="-O2 -pipe -stdlib=libc++ -arch ${CONDA_ARCH} -Wall -Wextra"

./configure $CONFIGURE_FLAGS

make -j$(sysctl -n hw.ncpu) CFLAGS="$CFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
EXEMPT="-Wno-error=deprecated-non-prototype"
make -j$(sysctl -n hw.ncpu) CFLAGS="$CFLAGS -Werror $EXEMPT" \
CXXFLAGS="$CXXFLAGS -Werror $EXEMPT"

make install

0 comments on commit d10ac4f

Please sign in to comment.