forked from oracle/graalpython
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 1.18 KB
/
build-macos-aarch64-wheels.yml
File metadata and controls
38 lines (38 loc) · 1.18 KB
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
name: build-macos-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: macos-latest
env:
PACKAGES_TO_BUILD: ${{ inputs.packages }}
steps:
- 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: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build wheels
run: |
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches"
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