Skip to content

Commit 9f593af

Browse files
committed
moved build pure py in primary wheels
1 parent 5d1c984 commit 9f593af

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/workflows/build_primary_wheels.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,31 @@ jobs:
2828
- uses: actions/upload-artifact@v3
2929
with:
3030
path: ./wheelhouse/*.whl
31+
32+
build:
33+
name: Build pure py
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: ">=3.6"
43+
44+
- name: Install dependencies
45+
run: pip install -U pip setuptools wheel pytest
46+
47+
- name: Install module
48+
run: FROZENDICT_PURE_PY=1 python setup.py install
49+
50+
- name: Test with pytest
51+
run: pytest
52+
53+
- name: Build package
54+
run: FROZENDICT_PURE_PY=1 python setup.py bdist_wheel
55+
56+
- uses: actions/upload-artifact@v3
57+
with:
58+
path: dist/*.whl

.github/workflows/build_secondary_wheels.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,34 +45,6 @@ jobs:
4545
with:
4646
path: ./wheelhouse/*.whl
4747

48-
build:
49-
name: Build pure py
50-
runs-on: ubuntu-latest
51-
52-
steps:
53-
- uses: actions/checkout@v4
54-
55-
- name: Set up Python
56-
uses: actions/setup-python@v4
57-
with:
58-
python-version: ">=3.6"
59-
60-
- name: Install dependencies
61-
run: pip install -U pip setuptools wheel pytest
62-
63-
- name: Install module
64-
run: FROZENDICT_PURE_PY=1 python setup.py install
65-
66-
- name: Test with pytest
67-
run: pytest
68-
69-
- name: Build package
70-
run: FROZENDICT_PURE_PY=1 python setup.py bdist_wheel
71-
72-
- uses: actions/upload-artifact@v3
73-
with:
74-
path: dist/*.whl
75-
7648
build_sdist:
7749
name: Build sdist on ${{ matrix.os }}
7850
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)