Update repo versions.
This commit is contained in:
parent
9bf45d3a21
commit
d15baf015f
3 changed files with 24 additions and 24 deletions
20
.github/workflows/build-pypi.yml
vendored
20
.github/workflows/build-pypi.yml
vendored
|
@ -16,11 +16,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m build --sdist
|
python -m build --sdist
|
||||||
- name: Put SDist in artifact container
|
- name: Put SDist in artifact container
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist/*.tar.gz
|
path: dist/*.tar.gz
|
||||||
- name: Check SDist metadata
|
- name: Check SDist metadata
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
bitness: [32, 64]
|
bitness: [32, 64]
|
||||||
python: [3.6, 3.7, 3.8, 3.9]
|
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
bitness: 64
|
bitness: 64
|
||||||
|
@ -66,23 +66,23 @@ jobs:
|
||||||
bitness: 32
|
bitness: 32
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Get Python Version Name
|
- name: Get Python Version Name
|
||||||
uses: mad9000/actions-find-and-replace-string@2
|
uses: mad9000/actions-find-and-replace-string@5
|
||||||
id: pythonversion
|
id: pythonversion
|
||||||
with:
|
with:
|
||||||
source: ${{ matrix.python }}
|
source: ${{ matrix.python }}
|
||||||
find: '.'
|
find: '.'
|
||||||
replace: ''
|
replace: ''
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: joerick/cibuildwheel@v1.10.0
|
uses: joerick/cibuildwheel@v2.20.0
|
||||||
env:
|
env:
|
||||||
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
||||||
CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
|
CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
|
||||||
- name: Upload wheels to artifact container
|
- name: Upload wheels to artifact container
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|
||||||
|
@ -91,12 +91,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get SDist and wheels from artifact container
|
- name: Get SDist and wheels from artifact container
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
path: dist
|
path: dist
|
||||||
- name: Publish wheels to Test PyPI
|
- name: Publish wheels to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@v1.4.2
|
uses: pypa/gh-action-pypi-publish@v1.10.1
|
||||||
with:
|
with:
|
||||||
user: ${{ secrets.PYPI_USERNAME }}
|
user: ${{ secrets.PYPI_USERNAME }}
|
||||||
password: ${{ secrets.PYPI_PASSWORD }}
|
password: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
|
22
.github/workflows/build-test-pypi.yml
vendored
22
.github/workflows/build-test-pypi.yml
vendored
|
@ -16,13 +16,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.12'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install build twine
|
python -m pip install build twine
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m build --sdist
|
python -m build --sdist
|
||||||
- name: Put SDist in artifact container
|
- name: Put SDist in artifact container
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist/*.tar.gz
|
path: dist/*.tar.gz
|
||||||
- name: Check SDist metadata
|
- name: Check SDist metadata
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
bitness: [32, 64]
|
bitness: [32, 64]
|
||||||
python: [3.6, 3.7, 3.8, 3.9]
|
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
bitness: 64
|
bitness: 64
|
||||||
|
@ -66,23 +66,23 @@ jobs:
|
||||||
bitness: 32
|
bitness: 32
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Get Python Version Name
|
- name: Get Python Version Name
|
||||||
uses: mad9000/actions-find-and-replace-string@2
|
uses: mad9000/actions-find-and-replace-string@5
|
||||||
id: pythonversion
|
id: pythonversion
|
||||||
with:
|
with:
|
||||||
source: ${{ matrix.python }}
|
source: ${{ matrix.python }}
|
||||||
find: '.'
|
find: '.'
|
||||||
replace: ''
|
replace: ''
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: joerick/cibuildwheel@v1.10.0
|
uses: joerick/cibuildwheel@v2.20.0
|
||||||
env:
|
env:
|
||||||
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
||||||
CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
|
CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
|
||||||
- name: Upload wheels to artifact container
|
- name: Upload wheels to artifact container
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|
||||||
|
@ -91,12 +91,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get SDist and wheels from artifact container
|
- name: Get SDist and wheels from artifact container
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
path: dist
|
path: dist
|
||||||
- name: Publish wheels to Test PyPI
|
- name: Publish wheels to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@v1.4.2
|
uses: pypa/gh-action-pypi-publish@v1.10.1
|
||||||
with:
|
with:
|
||||||
user: ${{ secrets.TEST_PYPI_USERNAME }}
|
user: ${{ secrets.TEST_PYPI_USERNAME }}
|
||||||
password: ${{ secrets.TEST_PYPI_PASSWORD }}
|
password: ${{ secrets.TEST_PYPI_PASSWORD }}
|
||||||
|
|
6
.github/workflows/run-tests.yml
vendored
6
.github/workflows/run-tests.yml
vendored
|
@ -21,11 +21,11 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install libsndfile if necessary (Linux)
|
- name: Install libsndfile if necessary (Linux)
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}
|
Loading…
Reference in a new issue