Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 9, 2024
1 parent 4f2827b commit c814cd2
Showing 1 changed file with 5 additions and 30 deletions.
35 changes: 5 additions & 30 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,24 @@ name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} ${{ matrix.config.disable-static }} (${{ matrix.config.r }})

runs-on: ubuntu-latest
name: ${{ matrix.container }}
container: ghcr.io/r-hub/containers/${{ matrix.container }}:latest
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-13, r: 'release'}
- {os: macOS-14, r: 'release'}
- {os: macOS-latest, r: 'release', disable-static: 'disable-static'}
- {os: windows-latest, r: '3.6'}
- {os: windows-latest, r: '4.0'}
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: '4.2'}
- {os: windows-latest, r: '4.3'}
- {os: windows-latest, r: '4.4'}
- {os: windows-2022, r: 'devel'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-20.04, r: 'release'}
- {os: ubuntu-24.04, r: 'release', disable-static: 'disable-static'}
- {os: ubuntu-22.04, r: 'release', disable-static: 'disable-static'}
- {os: ubuntu-20.04, r: 'release', disable-static: 'disable-static'}
container: [ 'clang16', 'clang18', 'clang20', 'gcc14', 'ubuntu-clang' ]

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
DISABLE_STATIC_LIBV8: ${{ matrix.config.disable-static }}
DOWNLOAD_STATIC_LIBV8: true

steps:
- uses: actions/checkout@v4

- if: runner.os == 'macos' && matrix.config.disable-static
run: brew install v8 || true

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand Down

0 comments on commit c814cd2

Please sign in to comment.