Skip to content

Commit 5577564

Browse files
committed
seems good now, so build all
1 parent e192a27 commit 5577564

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

.github/workflows/build-python-release.reusable.yaml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,40 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
_:
24-
# - target: x86_64-unknown-linux-gnu
25-
# runs_on: ubuntu-latest
26-
# manylinux: 2_17
27-
28-
# - target: aarch64-unknown-linux-gnu
29-
# runs_on: ubuntu-latest
30-
# manylinux: 2_24
31-
# # I'm not sure if this actually works; I can't 'pip install ./local-path.whl'
32-
# # from inside a container based off quay.io/pypa/manylinux2014_aarch64
33-
# # see https://github.com/astral-sh/uv/issues/3439#issuecomment-2110448346
34-
# # manylinux: 2_28
35-
# # env:
36-
# # # Workaround ring 0.17 build issue
37-
# # # see https://github.com/briansmith/ring/issues/1728
38-
# # CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
39-
40-
# - target: x86_64-unknown-linux-musl
41-
# runs_on: ubuntu-latest
42-
# # see https://github.com/astral-sh/uv/blob/9bb55c4ac0582e05d1a7a5bbd99cc7b2c82f1847/.github/workflows/build-binaries.yml#L594
43-
# manylinux: musllinux_1_1
44-
45-
# - target: aarch64-unknown-linux-musl
46-
# runs_on: ubuntu-latest
47-
# # see https://github.com/astral-sh/uv/blob/9bb55c4ac0582e05d1a7a5bbd99cc7b2c82f1847/.github/workflows/build-binaries.yml#L594
48-
# manylinux: musllinux_1_1
49-
50-
# - target: x86_64-apple-darwin
51-
# runs_on: macos-latest
52-
53-
# - target: aarch64-apple-darwin
54-
# runs_on: macos-latest
55-
56-
# - target: x86_64-pc-windows-msvc
57-
# runs_on: windows-latest
24+
- target: x86_64-unknown-linux-gnu
25+
runs_on: ubuntu-latest
26+
manylinux: 2_17
27+
28+
- target: aarch64-unknown-linux-gnu
29+
runs_on: ubuntu-latest
30+
manylinux: 2_24
31+
# I'm not sure if this actually works; I can't 'pip install ./local-path.whl'
32+
# from inside a container based off quay.io/pypa/manylinux2014_aarch64
33+
# see https://github.com/astral-sh/uv/issues/3439#issuecomment-2110448346
34+
# manylinux: 2_28
35+
# env:
36+
# # Workaround ring 0.17 build issue
37+
# # see https://github.com/briansmith/ring/issues/1728
38+
# CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
39+
40+
- target: x86_64-unknown-linux-musl
41+
runs_on: ubuntu-latest
42+
# see https://github.com/astral-sh/uv/blob/9bb55c4ac0582e05d1a7a5bbd99cc7b2c82f1847/.github/workflows/build-binaries.yml#L594
43+
manylinux: musllinux_1_1
44+
45+
- target: aarch64-unknown-linux-musl
46+
runs_on: ubuntu-latest
47+
# see https://github.com/astral-sh/uv/blob/9bb55c4ac0582e05d1a7a5bbd99cc7b2c82f1847/.github/workflows/build-binaries.yml#L594
48+
manylinux: musllinux_1_1
49+
50+
- target: x86_64-apple-darwin
51+
runs_on: macos-latest
52+
53+
- target: aarch64-apple-darwin
54+
runs_on: macos-latest
55+
56+
- target: x86_64-pc-windows-msvc
57+
runs_on: windows-latest
5858

5959
- target: aarch64-pc-windows-msvc
6060
runs_on: windows-11-arm
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
python-version: ${{ matrix._.target == 'aarch64-pc-windows-msvc' && '3.11' || '3.8' }}
9797
architecture: ${{ matrix._.architecture }}
98-
id: python311
98+
id: python-setup
9999

100100
- name: Build wheels
101101
uses: PyO3/maturin-action@v1
@@ -107,7 +107,7 @@ jobs:
107107
command: build
108108
# building in engine/ ensures that we pick up .cargo/config.toml
109109
working-directory: engine
110-
args: --release --out language_client_python/dist --manifest-path language_client_python/Cargo.toml --interpreter ${{ steps.python311.outputs.python-path }}
110+
args: --release --out language_client_python/dist --manifest-path language_client_python/Cargo.toml ${{ matrix._.target == 'aarch64-pc-windows-msvc' && format('--interpreter {0}', steps.python-setup.outputs.python-path) || '' }}
111111
manylinux: ${{ matrix._.manylinux }}
112112
before-script-linux: |
113113
if command -v yum &> /dev/null; then

0 commit comments

Comments
 (0)