Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/build_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0 # To ensure tags are retrieved to enable setuptools_scm to work
- name: Install Python 3.x
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Build sdist
run: pipx run build --sdist
- name: Save sdist
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: cibw-sdist.tar.gz
path: dist/*.tar.gz
Expand All @@ -51,7 +51,7 @@ jobs:
cibw_build: [cp39-*, cp310-*, cp311-*, cp312-*, cp313-*, cp313t-*, cp314-*, cp314t-*]
steps:
- name: Check out repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0 # To ensure tags are retrieved to enable setuptools_scm to work
- name: Install Python 3.x
Expand All @@ -60,7 +60,7 @@ jobs:
python-version: 3.x
- name: Set up QEMU # Needed to build aarch64 wheels
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: all

Expand All @@ -78,7 +78,7 @@ jobs:
echo "CIBW_ENVIRONMENT=PYLZ4_USE_SYSTEM_LZ4=False" >> "$GITHUB_ENV"
echo "CIBW_TEST_COMMAND=tox -c {project}" >> "$GITHUB_ENV"
- name: Build wheels
uses: pypa/cibuildwheel@v3.3.0
uses: pypa/cibuildwheel@v4.1.0
env:
# CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
CIBW_ARCHS_LINUX: "x86_64 i686"
Expand All @@ -90,7 +90,7 @@ jobs:
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 *-*linux_{ppc64le,s390x} *-win_arm64"
CIBW_BEFORE_BUILD: "python -m pip install -U pip && python -m pip install tox"
- name: Save wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
Expand All @@ -109,7 +109,7 @@ jobs:
cibw_build: [cp39-*, cp310-*, cp311-*, cp312-*, cp313-*, cp313t-*, cp314-*, cp314t-*]
steps:
- name: Check out repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0 # To ensure tags are retrieved to enable setuptools_scm to work
- name: Install Python 3.x
Expand All @@ -122,15 +122,15 @@ jobs:
echo "CIBW_ENVIRONMENT=PYLZ4_USE_SYSTEM_LZ4=False" >> "$GITHUB_ENV"
echo "CIBW_TEST_COMMAND=tox -c {project}" >> "$GITHUB_ENV"
- name: Build wheels
uses: pypa/cibuildwheel@v3.3.0
uses: pypa/cibuildwheel@v4.1.0
env:
CIBW_ARCHS_LINUX: "aarch64"
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_SKIP: "cp*-musllinux*"
CIBW_ENABLE: cpython-freethreading
CIBW_BEFORE_BUILD: "python -m pip install -U pip && python -m pip install tox"
- name: Save wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
Expand All @@ -141,7 +141,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
pattern: cibw-*
path: dist
Expand Down
Loading