Skip to content

Commit

Permalink
macOS GitHub CI: brew is being very flaky; stop trying to use it.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jun 28, 2023
1 parent 65fd05b commit 9087a2b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/actions/config-cc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ runs:
shell: bash
run: |
if [ "`uname`" = "Darwin" ]; then
brew update
brew install ccache
# Jun 28 2023: Stopped using brew to install ccache, it
# was being very flaky; took ccache out of the CC/CXX/etc
# lines.
# brew update
# brew install ccache
echo CFLAGS=$CFLAGS -Wno-parentheses-equality -Wno-constant-logical-operand -stdlib=libc++ >> $GITHUB_ENV
echo CXXFLAGS=$CXXFLAGS -Wno-parentheses-equality -Wno-constant-logical-operand -stdlib=libc++ >> $GITHUB_ENV
echo CC=ccache /usr/bin/clang >> $GITHUB_ENV
echo CXX=ccache /usr/bin/clang++ >> $GITHUB_ENV
echo LDCXXSHARED=ccache /usr/bin/clang -bundle -undefined dynamic_lookup >> $GITHUB_ENV
echo LDSHARED=ccache /usr/bin/clang -bundle -undefined dynamic_lookup >> $GITHUB_ENV
echo CC=/usr/bin/clang >> $GITHUB_ENV
echo CXX=/usr/bin/clang++ >> $GITHUB_ENV
echo LDCXXSHARED=/usr/bin/clang -bundle -undefined dynamic_lookup >> $GITHUB_ENV
echo LDSHARED=/usr/bin/clang -bundle -undefined dynamic_lookup >> $GITHUB_ENV
else
sudo apt-get install -y ccache libmemcached-dev
echo CFLAGS=$CFLAGS -std=gnu++11 >> $GITHUB_ENV
Expand Down

0 comments on commit 9087a2b

Please sign in to comment.