From fdcda37d88070f66120c0d4f610479a8550f21a5 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Wed, 9 Oct 2024 14:15:14 +0200 Subject: [PATCH] Test --- .github/workflows/R-CMD-check.yaml | 39 ++++++++---------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index b919a57..08d6662 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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: