From dd64dc473eb3abda0622df393bd9a84eddfa3c0a Mon Sep 17 00:00:00 2001 From: Josiah Parry Date: Wed, 8 May 2024 08:17:12 -0400 Subject: [PATCH] try adapting r-universe check --- .github/workflows/R-CMD-check.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5dd07e8..07fa1c8 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,3 +52,27 @@ jobs: with: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' + + linux: + # needs: [prepare, source] + runs-on: ubuntu-22.04 + timeout-minutes: 60 + name: Build R-${{ matrix.r }} for Linux + strategy: + fail-fast: false + matrix: + r: [ 'devel' ] + container: + image: ghcr.io/r-universe-org/base-image:${{ matrix.r }} + steps: + - name: Download source package + uses: actions/download-artifact@v4 + with: + name: package-source + path: . + - name: "Build and check binaries" + uses: r-universe-org/actions/linux-check@v4 + id: build + timeout-minutes: 60 + env: + GITHUB_PAT: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file