Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 215996b

Browse filesBrowse files
committed
Build PyPy wheels also
1 parent 2dfe9f1 commit 215996b
Copy full SHA for 215996b

File tree

Expand file treeCollapse file tree

1 file changed

+41
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+41
-7
lines changed

‎.github/workflows/kit.yml

Copy file name to clipboardExpand all lines: .github/workflows/kit.yml
+41-7Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ name: Build kits
99
on:
1010
workflow_dispatch:
1111

12+
defaults:
13+
run:
14+
shell: bash
15+
1216
jobs:
1317
build_wheels:
1418
name: Build wheels on ${{ matrix.os }}
@@ -22,7 +26,7 @@ jobs:
2226
- name: Check out the repo
2327
uses: actions/checkout@v2
2428

25-
- name: Install Python
29+
- name: Install Python 3.7
2630
uses: actions/setup-python@v2
2731
with:
2832
python-version: "3.7"
@@ -43,24 +47,54 @@ jobs:
4347
run: |
4448
python -m cibuildwheel --output-dir wheelhouse
4549
46-
- uses: actions/upload-artifact@v2
50+
- name: Upload wheels
51+
uses: actions/upload-artifact@v2
4752
with:
4853
path: ./wheelhouse/*.whl
4954

5055
build_sdist:
5156
name: Build source distribution
5257
runs-on: ubuntu-latest
5358
steps:
54-
- uses: actions/checkout@v2
59+
- name: Check out the repo
60+
uses: actions/checkout@v2
5561

56-
- uses: actions/setup-python@v2
57-
name: Install Python
62+
- name: Install Python 3.7
63+
uses: actions/setup-python@v2
5864
with:
5965
python-version: "3.7"
6066

6167
- name: Build sdist
62-
run: python setup.py sdist
68+
run: |
69+
python setup.py sdist
6370
64-
- uses: actions/upload-artifact@v2
71+
- name: Upload sdist
72+
uses: actions/upload-artifact@v2
6573
with:
6674
path: dist/*.tar.gz
75+
76+
build_pypy:
77+
name: Build PyPy wheels
78+
runs-on: ubuntu-latest
79+
steps:
80+
- name: Check out the repo
81+
uses: actions/checkout@v2
82+
83+
- name: Install PyPy
84+
uses: actions/setup-python@v2
85+
with:
86+
python-version: "pypy3"
87+
88+
- name: Install requirements
89+
run: |
90+
pypy3 -m pip install -r requirements/wheel.pip
91+
92+
- name: Build wheels
93+
run: |
94+
pypy3 setup.py bdist_wheel --python-tag pp36
95+
pypy3 setup.py bdist_wheel --python-tag pp37
96+
97+
- name: Upload wheels
98+
uses: actions/upload-artifact@v2
99+
with:
100+
path: dist/*.whl

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.