Skip to content

Commit

Permalink
ci: Use ubuntu-24.04-arm runner
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation committed Jan 26, 2025
1 parent a6097de commit 9fe6dad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release', rust: 'stable'}
- {os: windows-latest, r: 'release', rust: 'stable'}
- {os: ubuntu-latest, r: 'release', rust: 'stable'}
- {os: ubuntu-latest, r: 'devel', rust: 'stable', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release', rust: 'nightly'}
- {os: 'macos-latest', r: 'release', rust: 'stable'}
- {os: 'windows-latest', r: 'release', rust: 'stable'}
- {os: 'ubuntu-latest', r: 'release', rust: 'stable'}
- {os: 'ubuntu-latest', r: 'devel', rust: 'stable', http-user-agent: 'release'}
- {os: 'ubuntu-latest', r: 'release', rust: 'nightly'}
- {os: 'ubuntu-24.04-arm', r: 'release', rust: 'stable'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, master]

name: Check WASM and ARM64 build
name: Check WASM build

jobs:
build-wasm:
Expand Down Expand Up @@ -50,21 +50,3 @@ jobs:
uses: r-wasm/actions/build-rwasm@main
with:
packages: "local::./R-package"

# check at least it can build
build-arm64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-unknown-linux-gnu

- name: Install GCC toolchain for ARM
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Build
run: cargo build --target aarch64-unknown-linux-gnu

0 comments on commit 9fe6dad

Please sign in to comment.