Skip to content

Commit 30425ce

Browse files
committed
Fix wheelbuilder github actions
1 parent 040cfa7 commit 30425ce

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

.github/workflows/build-linux-aarch64-wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
dnf install -y /usr/bin/patch
3030
- name: Checkout
3131
uses: actions/checkout@main
32-
- name: Setup Python
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: 3.12
32+
- name: Build wheels
33+
run: |
34+
python3 -m venv wheelbuilder_venv
35+
export PIP_EXTRA_INDEX_URL=https://pypi.org/simple
36+
wheelbuilder_venv/bin/python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3637
- name: Build wheels
3738
run: python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3839
- name: Store wheels

.github/workflows/build-linux-amd64-wheels.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ name: build-linux-amd64-wheels
1313
jobs:
1414
build_wheels:
1515
runs-on:
16-
- self-hosted
17-
- Linux
18-
- ARM64
19-
container: quay.io/pypa/manylinux_2_28_amd64
16+
- ubuntu-latest
17+
container: quay.io/pypa/manylinux_2_28_x86_64
2018
env:
2119
PACKAGES_TO_BUILD: ${{ inputs.packages }}
2220
steps:
@@ -29,12 +27,11 @@ jobs:
2927
dnf install -y /usr/bin/patch
3028
- name: Checkout
3129
uses: actions/checkout@main
32-
- name: Setup Python
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: 3.12
3630
- name: Build wheels
37-
run: python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
31+
run: |
32+
python3 -m venv wheelbuilder_venv
33+
export PIP_EXTRA_INDEX_URL=https://pypi.org/simple
34+
wheelbuilder_venv/bin/python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3835
- name: Store wheels
3936
uses: actions/upload-artifact@main
4037
with:

.github/workflows/build-macos-aarch64-wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build-macos-amd64-wheels
1+
name: build-macos-aarch64-wheels
22
'on':
33
workflow_dispatch:
44
inputs:
@@ -12,7 +12,7 @@ name: build-macos-amd64-wheels
1212
required: true
1313
jobs:
1414
build_wheels:
15-
runs-on: macos-12
15+
runs-on: macos-latest
1616
env:
1717
PACKAGES_TO_BUILD: ${{ inputs.packages }}
1818
steps:
@@ -23,7 +23,9 @@ jobs:
2323
with:
2424
python-version: 3.12
2525
- name: Build wheels
26-
run: python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
26+
run: |
27+
export PIP_EXTRA_INDEX_URL=https://pypi.org/simple
28+
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
2729
- name: Store wheels
2830
uses: actions/upload-artifact@main
2931
with:

.github/workflows/build-macos-amd64-wheels.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
with:
2424
python-version: 3.12
2525
- name: Build wheels
26-
run: python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
26+
run: |
27+
export PIP_EXTRA_INDEX_URL=https://pypi.org/simple
28+
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
2729
- name: Store wheels
2830
uses: actions/upload-artifact@main
2931
with:

.github/workflows/build-windows-amd64-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- name: Build wheels
2727
run: |
2828
$env:PATH+=";C:\Program Files\Git\usr\bin"
29+
$env:PIP_EXTRA_INDEX_URL="https://pypi.org/simple"
2930
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3031
- name: Store wheels
3132
uses: actions/upload-artifact@main

0 commit comments

Comments
 (0)