Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more wheels, use upload v4 #264

Merged
merged 6 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
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
14 changes: 12 additions & 2 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,29 @@ jobs:
# Note: the action happens inside a docker image
- uses: actions/checkout@v4

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.21.1
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
CIBW_ARCHS_LINUX: auto aarch64
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *musllinux*"
CIBW_BEFORE_BUILD_LINUX: yum install -y libunwind-devel elfutils-libelf-devel libdwarf-devel
CIBW_BEFORE_TEST: pip install -r test_requirements.txt
CIBW_TEST_COMMAND: cd {package} && pytest vmprof jitlog -vv
CIBW_TEST_COMMAND_WINDOWS: cd /d {package} && pytest vmprof jitlog -vv
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x}"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: ./wheelhouse/*.whl


Expand Down Expand Up @@ -77,7 +87,7 @@ jobs:
# vmprof-0.4.15-pp3-none-any.whl
rename 's/py3/pp3/' vmprof-*.whl

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: vmprof*.whl

42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run(self):
name='vmprof',
author='vmprof team',
author_email='fijal@baroquesoftware.com',
version="0.4.17",
version="0.4.18",
packages=find_packages(),
description="Python's vmprof client",
long_description='See https://vmprof.readthedocs.org/',
Expand Down
8 changes: 0 additions & 8 deletions travis/build-libunwind.sh

This file was deleted.

19 changes: 0 additions & 19 deletions travis/build-wheels.sh

This file was deleted.

22 changes: 0 additions & 22 deletions travis/install.sh

This file was deleted.

31 changes: 0 additions & 31 deletions travis/script.sh

This file was deleted.

27 changes: 0 additions & 27 deletions travis/upload-artifact.sh

This file was deleted.

Loading