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 fdcda37
Showing 1 changed file with 10 additions and 29 deletions.
39 changes: 10 additions & 29 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,29 @@ 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: ${{ matrix.container }}
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: [ ' ghcr.io/r-hub/containers/clang16:latest', 'ghcr.io/r-hub/containers/clang20:latest' ]

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@v2
# with:
# http-user-agent: ${{ matrix.config.http-user-agent }}
# use-public-rspm: true
# install-r: false

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

0 comments on commit fdcda37

Please sign in to comment.