|
|
|
@ -20,16 +20,12 @@ jobs:
@@ -20,16 +20,12 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
|
|
|
|
|
|
- name: Install deps |
|
|
|
|
run: python -m pip install twine build |
|
|
|
|
|
|
|
|
|
- name: Build SDist |
|
|
|
|
run: python -m build -s |
|
|
|
|
run: pipx run build --sdist |
|
|
|
|
|
|
|
|
|
- name: Check metadata |
|
|
|
|
run: twine check dist/* |
|
|
|
|
run: pipx run twine check dist/* |
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
@ -47,22 +43,12 @@ jobs:
@@ -47,22 +43,12 @@ jobs:
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
|
|
|
|
|
|
- name: Install cibuildwheel |
|
|
|
|
run: python -m pip install cibuildwheel==1.6.3 |
|
|
|
|
|
|
|
|
|
- name: Build wheel |
|
|
|
|
run: python -m cibuildwheel --output-dir wheelhouse |
|
|
|
|
- uses: joerick/cibuildwheel@v1.10.0 |
|
|
|
|
env: |
|
|
|
|
# Python 2.7 on Windows requires a workaround for C++11 support, |
|
|
|
|
# built separately below |
|
|
|
|
CIBW_SKIP: cp27-win* |
|
|
|
|
|
|
|
|
|
- name: Show files |
|
|
|
|
run: ls -lh wheelhouse |
|
|
|
|
shell: bash |
|
|
|
|
|
|
|
|
|
- name: Verify clean directory |
|
|
|
|
run: git diff --exit-code |
|
|
|
|
shell: bash |
|
|
|
@ -79,19 +65,14 @@ jobs:
@@ -79,19 +65,14 @@ jobs:
|
|
|
|
|
runs-on: windows-latest |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v1 |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
with: |
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
|
|
|
|
|
|
- name: Install cibuildwheel |
|
|
|
|
run: python -m pip install cibuildwheel==1.6.3 |
|
|
|
|
|
|
|
|
|
- uses: ilammy/msvc-dev-cmd@v1 |
|
|
|
|
|
|
|
|
|
- name: Build 64-bit wheel |
|
|
|
|
run: python -m cibuildwheel --output-dir wheelhouse |
|
|
|
|
uses: joerick/cibuildwheel@v1.10.0 |
|
|
|
|
env: |
|
|
|
|
CIBW_BUILD: cp27-win_amd64 |
|
|
|
|
DISTUTILS_USE_SDK: 1 |
|
|
|
@ -102,16 +83,12 @@ jobs:
@@ -102,16 +83,12 @@ jobs:
|
|
|
|
|
arch: x86 |
|
|
|
|
|
|
|
|
|
- name: Build 32-bit wheel |
|
|
|
|
run: python -m cibuildwheel --output-dir wheelhouse |
|
|
|
|
uses: joerick/cibuildwheel@v1.10.0 |
|
|
|
|
env: |
|
|
|
|
CIBW_BUILD: cp27-win32 |
|
|
|
|
DISTUTILS_USE_SDK: 1 |
|
|
|
|
MSSdk: 1 |
|
|
|
|
|
|
|
|
|
- name: Show files |
|
|
|
|
run: ls -lh wheelhouse |
|
|
|
|
shell: bash |
|
|
|
|
|
|
|
|
|
- name: Verify clean directory |
|
|
|
|
run: git diff --exit-code |
|
|
|
|
shell: bash |
|
|
|
@ -135,7 +112,7 @@ jobs:
@@ -135,7 +112,7 @@ jobs:
|
|
|
|
|
name: artifact |
|
|
|
|
path: dist |
|
|
|
|
|
|
|
|
|
- uses: pypa/gh-action-pypi-publish@v1.4.1 |
|
|
|
|
- uses: pypa/gh-action-pypi-publish@v1.4.2 |
|
|
|
|
with: |
|
|
|
|
user: __token__ |
|
|
|
|
password: ${{ secrets.pypi_password }} |
|
|
|
|