Skip to content

Commit

Permalink
moved build pure py in primary wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Sulla committed Nov 24, 2023
1 parent 5d1c984 commit 9f593af
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_primary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,31 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

build:
name: Build pure py
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ">=3.6"

- name: Install dependencies
run: pip install -U pip setuptools wheel pytest

- name: Install module
run: FROZENDICT_PURE_PY=1 python setup.py install

- name: Test with pytest
run: pytest

- name: Build package
run: FROZENDICT_PURE_PY=1 python setup.py bdist_wheel

- uses: actions/upload-artifact@v3
with:
path: dist/*.whl
28 changes: 0 additions & 28 deletions .github/workflows/build_secondary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,6 @@ jobs:
with:
path: ./wheelhouse/*.whl

build:
name: Build pure py
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ">=3.6"

- name: Install dependencies
run: pip install -U pip setuptools wheel pytest

- name: Install module
run: FROZENDICT_PURE_PY=1 python setup.py install

- name: Test with pytest
run: pytest

- name: Build package
run: FROZENDICT_PURE_PY=1 python setup.py bdist_wheel

- uses: actions/upload-artifact@v3
with:
path: dist/*.whl

build_sdist:
name: Build sdist on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 9f593af

Please sign in to comment.