Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Dec 14, 2024
1 parent 74b557f commit 541f791
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/wheelbuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
# I can't get windows tests to work, but at least here's linux testing the built wheels
CIBW_TEST_REQUIRES: pytest
CIBW_ARCHS_MACOS: 'x86_64 arm64'
# CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
# CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-* cp313-*'
CIBW_SKIP: 'cp36-* cp37-*'
CIBW_TEST_COMMAND_LINUX: "cd {project} && pytest -v tests/"
# doesn't work?: CIBW_ENVIRONMENT_MACOS: 'CFLAGS="-DMA_NO_RUNTIME_LINKING -framework AudioToolbox "'


- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: pypi_artifacts
path: ./wheelhouse/*.whl
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: pypi_artifacts
path: dist/*.tar.gz
Expand All @@ -68,12 +68,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: pypi_artifacts
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TEST_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/wheeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
# I can't get windows tests to work, but at least here's linux testing the built wheels
CIBW_TEST_REQUIRES: pytest
CIBW_ARCHS_MACOS: 'x86_64 arm64'
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-* cp313-*'
CIBW_TEST_COMMAND_LINUX: "cd {project} && pytest -v tests/"


- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: pypi_artifacts
path: ./wheelhouse/*.whl
Expand Down

0 comments on commit 541f791

Please sign in to comment.