Skip to content

Add native CI for Aarch64 #730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ env:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ${{ matrix.os.image }}

strategy:
fail-fast: false
matrix:
os:
- { image: ubuntu-24.04, asset_name_suffix: "" }
- { image: ubuntu-24.04-arm, asset_name_suffix: "-aarch64" }
libgccjit_version:
- { gcc: "gcc-15.deb" }
- { gcc: "gcc-15-without-int128.deb" }
- { gcc: "gcc-15" }
- { gcc: "gcc-15-without-int128" }
commands: [
"--std-tests",
# FIXME: re-enable asm tests when GCC can emit in the right syntax.
Expand Down Expand Up @@ -56,11 +59,11 @@ jobs:
run: rustup component add rustfmt clippy

- name: Download artifact
run: curl -LO https://github.com/rust-lang/gcc/releases/latest/download/${{ matrix.libgccjit_version.gcc }}
run: curl -LO https://github.com/rust-lang/gcc/releases/latest/download/${{ matrix.libgccjit_version.gcc }}${{ matrix.os.asset_name_suffix }}.deb

- name: Setup path to libgccjit
run: |
sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}
sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}${{ matrix.os.asset_name_suffix }}.deb
echo 'gcc-path = "/usr/lib/"' > config.toml

# Some run-make tests fail if we use our forked GCC because it doesn't
Expand Down
Loading