Skip to content

Commit c8f097b

Browse files
committed
Fix release builds
1 parent fcd45df commit c8f097b

File tree

1 file changed

+54
-35
lines changed

1 file changed

+54
-35
lines changed

.github/workflows/release.yml

Lines changed: 54 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,62 @@ jobs:
1818
include:
1919
- os: ubuntu
2020
platform: linux
21-
- os: windows
22-
ls: dir
23-
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
24-
- os: windows
25-
ls: dir
26-
target: aarch64
27-
interpreter: 3.11 3.12
28-
- os: macos
29-
target: aarch64
30-
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
3121
- os: ubuntu
3222
platform: linux
3323
target: aarch64
3424
# mimalloc not supported on manylinux2014 cross-compile container
3525
extra-build-args: --no-default-features
36-
# musllinux
37-
- os: ubuntu
38-
platform: linux
39-
target: x86_64
40-
manylinux: musllinux_1_1
41-
- os: ubuntu
42-
platform: linux
43-
target: aarch64
44-
manylinux: musllinux_1_1
4526
- os: ubuntu
4627
platform: linux
4728
target: ppc64le
48-
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
29+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13
4930
# mimalloc not supported on manylinux2014 cross-compile container
5031
extra-build-args: --no-default-features
5132
- os: ubuntu
5233
platform: linux
5334
target: s390x
54-
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
35+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13
5536
# mimalloc not supported on manylinux2014 cross-compile container
5637
extra-build-args: --no-default-features
5738

39+
# musllinux
40+
- os: ubuntu
41+
platform: linux
42+
target: x86_64
43+
manylinux: musllinux_1_1
44+
- os: ubuntu
45+
platform: linux
46+
target: aarch64
47+
manylinux: musllinux_1_1
48+
49+
# - os: windows
50+
# ls: dir
51+
# interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
52+
# - os: windows
53+
# ls: dir
54+
# target: aarch64
55+
# interpreter: 3.11 3.12
56+
57+
- os: windows
58+
target: x86_64
59+
interpreter: pypy3.9 pypy3.10
60+
- os: windows
61+
target: i686
62+
python-architecture: x86
63+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
64+
- os: windows
65+
target: aarch64
66+
interpreter: 3.11 3.12 3.13
67+
68+
69+
- os: macos
70+
target: x86_64
71+
- os: macos
72+
target: aarch64
73+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
74+
75+
76+
5877
runs-on: ${{ matrix.os }}-latest
5978
steps:
6079
- uses: actions/checkout@v4
@@ -71,7 +90,7 @@ jobs:
7190
target: ${{ matrix.target }}
7291
manylinux: ${{ matrix.manylinux || 'auto' }}
7392
container: ${{ matrix.container }}
74-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12 pypy3.7 pypy3.8 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
93+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
7594
rust-toolchain: stable
7695
docker-options: -e CI
7796

@@ -130,16 +149,16 @@ jobs:
130149
[[ "${GITHUB_REF#refs/tags/}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \
131150
|| echo ::set-output name=prerelease::true
132151
133-
- name: Create Release
134-
uses: ncipollo/release-action@v1
135-
with:
136-
artifacts: "dist/*"
137-
token: ${{ secrets.GITHUB_TOKEN }}
138-
draft: false
139-
prerelease: steps.check-version.outputs.prerelease == 'true'
140-
141-
- name: Publish to PyPI
142-
env:
143-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
144-
run: |
145-
poetry publish
152+
# - name: Create Release
153+
# uses: ncipollo/release-action@v1
154+
# with:
155+
# artifacts: "dist/*"
156+
# token: ${{ secrets.GITHUB_TOKEN }}
157+
# draft: false
158+
# prerelease: steps.check-version.outputs.prerelease == 'true'
159+
160+
# - name: Publish to PyPI
161+
# env:
162+
# POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
163+
# run: |
164+
# poetry publish

0 commit comments

Comments
 (0)