Skip to content

Test arm

Test arm #8481

Workflow file for this run

on: [push, pull_request]
name: Build from SVN
concurrency:
group: ${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
windows:
name: Windows
runs-on: ${{matrix.OS}}
timeout-minutes: 120
env:
R_CRAN_WEB: "https://cran.rstudio.com"
CRAN_RSYNC: 'mirrors.nic.cz::CRAN'
defaults:
run:
shell: msys2 {0}
strategy:
fail-fast: false
matrix:
script: [ 'check', 'installer' ]
OS: [ 'windows-latest', 'windows-11-arm']
steps:
- name: Prepare git
run: git config --global core.autocrlf false
shell: bash
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 100
- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
install: git make perl curl texinfo texinfo-tex rsync zip unzip diffutils
- name: "Download rtools45 ARM64 toolchain"
if: matrix.OS == 'windows-11-arm'
run: |
url="https://github.com/r-windows/rtools-chocolatey/releases/download/6536/rtools45-toolchain-libs-base-aarch64-6536.tar.zst"
curl -sSL $url | tar x --zstd -C /c/ || true
- name: "Download rtools45 Intel toolchain"
if: matrix.OS != 'windows-11-arm'
run: |
url="https://github.com/r-windows/rtools-chocolatey/releases/download/6536/rtools45-toolchain-libs-base-6536.tar.zst"
curl -sSL $url | tar x --zstd -C /c/ || true
- name: Set timezone
shell: powershell
run: tzutil /s "GMT Standard Time"
- uses: r-lib/actions/setup-tinytex@v2
env:
TINYTEX_INSTALLER: TinyTeX
- name: Install additional LaTeX packages
run: |
tlmgr update --self
tlmgr install texinfo
tlmgr list --only-installed
shell: powershell
- name: Build and Check
run: |
sed -i.bak 's/rsync -rc/rsync -r/' tools/rsync-recommended
./.github/scripts/win-${{matrix.script}}.sh
- name: Print failed tests
if: failure() && matrix.script == 'check'
run: tail -n100 tests/*.fail
- name: Run Installer
run: .\src\gnuwin32\installer\R-devel-win.exe /SILENT
if: matrix.script == 'installer'
shell: powershell
- uses: actions/upload-artifact@v4
with:
name: installer
path: src/gnuwin32/installer/R-devel-win.exe
if: matrix.script == 'installer'