Skip to content
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

ci: run ffi-check on aarch64 linux #4754

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Changes from 2 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
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,28 @@ jobs:
if: ${{ endsWith(inputs.python-version, '-dev') || (steps.ffi-changes.outputs.changed == 'true' && inputs.rust == 'stable' && !startsWith(inputs.python-version, 'graalpy') && !(inputs.python-version == 'pypy3.9' && contains(inputs.os, 'windows'))) }}
run: nox -s ffi-check

- if: ${{ inputs.rust == 'stable' && inputs.os == 'ubuntu-latest' && !startsWith(inputs.python-version, 'graalpy') && !startsWith(inputs.python-version, 'pypy') }}
uses: uraimo/[email protected]
name: FFI check on aarch64
with:
arch: aarch64
distro: ubuntu22.04
install: |
set -x
if command -v apt-get &> /dev/null; then
echo "installing python & pip with apt-get..."
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip python3-venv git
messense marked this conversation as resolved.
Show resolved Hide resolved
else
echo "installing python & pip with apk..."
apk update
apk add python3 py3-pip git
messense marked this conversation as resolved.
Show resolved Hide resolved
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
messense marked this conversation as resolved.
Show resolved Hide resolved
run: |
pip install nox
messense marked this conversation as resolved.
Show resolved Hide resolved
nox -s ffi-check

env:
CARGO_TERM_VERBOSE: true
CARGO_BUILD_TARGET: ${{ inputs.rust-target }}
Expand Down
Loading