Skip to content

Commit bd60032

Browse files
committed
Update config
1 parent c3426d2 commit bd60032

2 files changed

Lines changed: 3 additions & 51 deletions

File tree

.github/workflows/make_release.yml

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
name: Build and upload to PyPI
22

3-
on:
4-
release:
5-
types:
6-
- published
7-
8-
3+
on: [push]
94
jobs:
105
build_wheels:
116
name: Build wheels for ${{ matrix.os }}
127
runs-on: ${{ matrix.runs-on }}
138
strategy:
149
matrix:
1510
include:
16-
- os: linux-intel
17-
runs-on: ubuntu-latest
18-
- os: linux-arm
19-
runs-on: ubuntu-24.04-arm
20-
- os: windows-intel
21-
runs-on: windows-latest
22-
- os: windows-arm
23-
runs-on: windows-11-arm
11+
- os: macos-intel
12+
runs-on: macos-13
2413
- os: macos-arm
2514
runs-on: macos-latest
2615

@@ -38,39 +27,3 @@ jobs:
3827
with:
3928
name: cibw-wheels-${{ matrix.os }}-${{ matrix.platform}}-${{ strategy.job-index }}
4029
path: ./wheelhouse/*.whl
41-
42-
43-
build_sdist:
44-
name: Build source distribution
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v4
48-
with:
49-
submodules: true
50-
- name: Build sdist
51-
run: |
52-
pip install Cython==3.0.11 setuptools wheel setuptools
53-
python setup.py build_ext --inplace --cython
54-
python setup.py sdist
55-
56-
- uses: actions/upload-artifact@v4
57-
with:
58-
path: dist/*.tar.gz
59-
retention-days: 1
60-
name: cibw-sdist
61-
62-
upload_pypi:
63-
needs: [build_wheels, build_sdist]
64-
runs-on: ubuntu-latest
65-
environment: release
66-
permissions:
67-
id-token: write
68-
if: github.event_name == 'release' && github.event.action == 'published'
69-
steps:
70-
- uses: actions/download-artifact@v4
71-
with:
72-
pattern: cibw-*
73-
path: dist
74-
merge-multiple: true
75-
76-
- uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ skip = [
6161
"*-musllinux*",
6262
"pp*"
6363
]
64-
macos.archs = ["x86_64", "arm64"]
6564
test-skip = "*-macosx_arm64"

0 commit comments

Comments
 (0)