-
Notifications
You must be signed in to change notification settings - Fork 113
44 lines (44 loc) · 1.3 KB
/
build-linux-aarch64-wheels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
- name: Build wheels
run: |
python3 -m venv wheelbuilder_venv
export PIP_EXTRA_INDEX_URL=https://pypi.org/simple
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