Ubuntu 22.04 aarch64, R 4.5 #277
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ubuntu 22.04 aarch64, R 4.5 | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '23 18 * * *' | |
| jobs: | |
| update: | |
| runs-on: ubuntu-22.04-arm | |
| container: ghcr.io/r-lib/rig/ubuntu-22.04-release | |
| steps: | |
| - name: Install and select R 4.5.x | |
| run: | | |
| rig add next | |
| rig default next | |
| shell: bash | |
| - name: Check Distro and R version | |
| run: | | |
| # | |
| readRenviron("/etc/os-release") | |
| if (Sys.getenv("ID") != "ubuntu") stop("Not Ubuntu") | |
| if (Sys.getenv("VERSION_ID") != "22.04") stop("Not Ubuntu 22.04") | |
| if (getRversion() < "4.5.0" || getRversion() >= "4.6.0") { | |
| stop("Not R 4.5.x") | |
| } | |
| if (Sys.info()[["machine"]] != "aarch64") stop("Not aarch64") | |
| shell: Rscript {0} | |
| - uses: actions/checkout@v3 | |
| - uses: r-hub/repos/actions/update-repo@main | |
| with: | |
| directory: ubuntu-22.04-aarch64/4.5 | |
| token: ${{ secrets.CRANATGH_GITHUB_TOKEN }} |