Skip to content

Commit

Permalink
remove unstable R clang 16 macOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cdueben committed Jan 13, 2025
1 parent eb994ff commit 7ff062f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: macos-latest, r: 'devel', http-user-agent: 'release', envs: { CC: "clang-16", CXX: "clang++-16" }}
- {os: macos-latest, r: 'devel', http-user-agent: 'release'}

- {os: windows-latest, r: 'release'}

Expand All @@ -38,22 +38,10 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
CC: ${{ matrix.config.envs.CC }}
CXX: ${{ matrix.config.envs.CXX }}

steps:
- uses: actions/checkout@v4

- name: Install clang-16 on macOS
if: runner.os == 'macOS' && matrix.config.r == 'devel'
run: |
brew install llvm@16
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
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
Expand Down
2 changes: 1 addition & 1 deletion R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#' m
#' # [4,1] [5,1.5] [6,2] [14,100] [15,100.1] [16,100.2]
#'
#' print(m, from = 6)
#' print(m, from = 6L)
#' # [6,2] [14,100] [15,100.1] [16,100.2]
#'
#' m <- cpp_map(c("world", "hello", "there"), 4:6)
Expand Down

0 comments on commit 7ff062f

Please sign in to comment.