Skip to content

Commit 3649ad2

Browse files
committed
Try building macOS wheels
1 parent 6363257 commit 3649ad2

File tree

1 file changed

+45
-44
lines changed

1 file changed

+45
-44
lines changed

.github/workflows/python-packages.yml

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,41 @@ on:
55
tags:
66
- "v[0-9]+\\.[0-9]+\\.[0-9]+"
77
- "v[0-9]+\\.[0-9]+\\.[0-9]+-[0-9]+"
8+
- "fix-macos-wheels"
89

910
jobs:
1011

11-
build_sdist:
12+
#build_sdist:
1213

13-
name: "Source distribution"
14-
runs-on: ubuntu-latest
14+
# name: "Source distribution"
15+
# runs-on: ubuntu-latest
1516

16-
steps:
17+
# steps:
1718

18-
- name: "Checkout the repository"
19-
uses: actions/checkout@v4
20-
with:
21-
submodules: true
19+
# - name: "Checkout the repository"
20+
# uses: actions/checkout@v4
21+
# with:
22+
# submodules: true
2223

23-
- name: "Set up Python"
24-
uses: actions/setup-python@v5
25-
with:
26-
python-version: "3.13"
24+
# - name: "Set up Python"
25+
# uses: actions/setup-python@v5
26+
# with:
27+
# python-version: "3.13"
2728

28-
- name: "Install python dependencies"
29-
run: |
30-
pip install setuptools cffi
29+
# - name: "Install python dependencies"
30+
# run: |
31+
# pip install setuptools cffi
3132

32-
- name: "Build source distribution"
33-
run: |
34-
python setup.py sdist
33+
# - name: "Build source distribution"
34+
# run: |
35+
# python setup.py sdist
3536

36-
- name: "Upload artifacts"
37-
uses: actions/upload-artifact@v4
38-
with:
39-
name: sdist
40-
path: dist/
41-
retention-days: 1
37+
# - name: "Upload artifacts"
38+
# uses: actions/upload-artifact@v4
39+
# with:
40+
# name: sdist
41+
# path: dist/
42+
# retention-days: 1
4243

4344
build_wheels:
4445

@@ -49,8 +50,8 @@ jobs:
4950
fail-fast: false
5051
matrix:
5152
os:
52-
- ubuntu-24.04
53-
- windows-2022
53+
#- ubuntu-24.04
54+
#- windows-2022
5455
- macos-13
5556

5657
steps:
@@ -79,26 +80,26 @@ jobs:
7980
path: ./wheelhouse/*.whl
8081
retention-days: 1
8182

82-
publish_pypi:
83+
#publish_pypi:
8384

84-
name: "Publish packages on PyPI"
85-
runs-on: ubuntu-latest
86-
needs:
87-
- build_sdist
88-
- build_wheels
85+
# name: "Publish packages on PyPI"
86+
# runs-on: ubuntu-latest
87+
# needs:
88+
# - build_sdist
89+
# - build_wheels
8990

90-
steps:
91+
# steps:
9192

92-
- name: "Download artifacts"
93-
uses: actions/download-artifact@v4
93+
# - name: "Download artifacts"
94+
# uses: actions/download-artifact@v4
9495

95-
- name: "Move packages to the dist/ folder"
96-
run: |
97-
mkdir dist/
98-
mv sdist/* dist/
99-
mv wheels-*/*.whl dist/
96+
# - name: "Move packages to the dist/ folder"
97+
# run: |
98+
# mkdir dist/
99+
# mv sdist/* dist/
100+
# mv wheels-*/*.whl dist/
100101

101-
- name: "Publish packages on PyPI"
102-
uses: pypa/gh-action-pypi-publish@release/v1
103-
with:
104-
password: ${{ secrets.PYPI_API_TOKEN }}
102+
# - name: "Publish packages on PyPI"
103+
# uses: pypa/gh-action-pypi-publish@release/v1
104+
# with:
105+
# password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)