diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0fec940..04a89e45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,6 +97,12 @@ jobs: run: | make release + - name: Install cibuildwheel + run: python -m pip install cibuildwheel + + - name: Build wheels + run: python -m cibuildwheel --output-dir dist + - name: Upload to TestPypi run: | python3 -m twine upload dist/* diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 129c20c0..0b43dfff 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -54,11 +54,21 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.18.1 + + - name: Build wheels + run: python -m cibuildwheel --platform linux --output-dir dist + - name: Create tarball or wheel run: | pip3 install -q build make release + - name: Install from dist (wheel) + run: | + pip3 install dist/*.whl + - name: Install from dist (tar.gz) run: | pip3 install dist/*.tar.gz