Skip to content

Commit e8836ea

Browse files
committed
Windows ARM in CI
1 parent 4b64d84 commit e8836ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,22 @@ jobs:
6868
}
6969
7070
echo "C:/rtools45-aarch64/usr/bin;C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
71+
- name: Install dependencies & Check Package (ARM64)
72+
if: matrix.config.os == 'windows-11-arm'
73+
run: |
74+
install.packages(c("tinytest", "rmarkdown", "knitr", "rcmdcheck"), repos = c(CRAN = "https://cran.rstudio.com"))
75+
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"))
76+
shell: C:\Program Files\R-aarch64\R-4.5.0\bin\Rscript.exe {0}
7177

7278
- uses: r-lib/actions/setup-r-dependencies@v2
79+
if: matrix.config.os != 'windows-11-arm'
7380
with:
7481
extra-packages: |
7582
any::rcmdcheck
7683
needs: check
7784

7885
- uses: r-lib/actions/check-r-package@v2
86+
if: matrix.config.os != 'windows-11-arm'
7987
with:
8088
upload-snapshots: true
8189
check-dir: '"check"'

0 commit comments

Comments
 (0)