build-linux-aarch64-wheels #1
Workflow file for this run
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: build-linux-aarch64-wheels | |
'on': | |
workflow_dispatch: | |
inputs: | |
packages: | |
type: string | |
description: Pkgs to build (comma-separated, empty for all) | |
required: false | |
graalpy_url: | |
type: string | |
description: GraalPy download url | |
required: true | |
jobs: | |
build_wheels: | |
runs-on: | |
- self-hosted | |
- Linux | |
- ARM64 | |
container: quay.io/pypa/manylinux_2_28_aarch64 | |
env: | |
PACKAGES_TO_BUILD: ${{ inputs.packages }} | |
steps: | |
- name: Install dependencies | |
run: | | |
dnf install -y epel-release | |
crb enable | |
dnf makecache --refresh | |
dnf module install -y nodejs:18 | |
dnf install -y /usr/bin/patch | |
- name: Checkout | |
uses: actions/checkout@main | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
rustflags: "-A warnings -A unexpected-cfgs -A unused-macros -A static-mut-refs -A unused-variables -A unused-imports" | |
cache: false | |
- name: Build wheels | |
run: | | |
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches" | |
python3 -m venv wheelbuilder_venv | |
wheelbuilder_venv/bin/python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }} | |
- name: Build wheels | |
run: python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }} | |
- name: Store wheels | |
uses: actions/upload-artifact@main | |
with: | |
name: wheels | |
path: wheelhouse/*.whl | |
if-no-files-found: error |