Skip to content

Commit

Permalink
compile unstable R on macOS with clang 16 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cdueben committed Jan 13, 2025
1 parent be09b65 commit eb994ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
if: runner.os == 'macOS' && matrix.config.r == 'devel'
run: |
brew install llvm@16
echo "CC=clang-16" >> $GITHUB_ENV
echo "CXX=clang++-16" >> $GITHUB_ENV
echo "CC=/usr/local/opt/llvm@16/bin/clang" >> $GITHUB_ENV
echo "CXX=/usr/local/opt/llvm@16/bin/clang++" >> $GITHUB_ENV
echo "LDFLAGS=-L/usr/local/opt/llvm@16/lib" >> $GITHUB_ENV
echo "CPPFLAGS=-I/usr/local/opt/llvm@16/include" >> $GITHUB_ENV
echo "/usr/local/opt/llvm@16/bin" >> $GITHUB_PATH
Expand All @@ -61,8 +61,7 @@ jobs:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
install-r: false
update: true
install-r: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand Down

0 comments on commit eb994ff

Please sign in to comment.