File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 workflow_dispatch :
1313
1414jobs :
15- build_wheels :
16- name : Build wheels on ${{ matrix.os }}
15+ build_binary_wheels :
16+ name : Build binary wheels on ${{ matrix.os }}
1717 runs-on : ${{ matrix.os }}
1818 strategy :
1919 fail-fast : false
2626 - name : Build wheels
2727 uses : pypa/cibuildwheel@v2.1.3
2828 env :
29- CIBW_SKIP : " *-win32 *-manylinux_i686"
29+ CIBW_SKIP : " pp* *-win32 *-manylinux_i686"
3030 CIBW_BEFORE_BUILD_LINUX : yum install -y libunwind-devel elfutils-libelf-devel libdwarf-devel
3131 CIBW_BEFORE_TEST : pip install -r test_requirements.txt
3232 CIBW_TEST_COMMAND : cd {package} && pytest vmprof && pytest jitlog
3737 # path: ./wheelhouse/*.whl
3838
3939
40+ build_pypy_wheels :
41+ name : Build pypy wheels
42+ runs-on : ubuntu-20.04
43+ strategy :
44+ fail-fast : false
45+
46+ steps :
47+ - uses : actions/checkout@v2
48+ - uses : actions/setup-python@v2
49+ with :
50+ python-version : ' pypy-3.7'
51+
52+ - name : Install system libraries
53+ run : sudo apt install -y libunwind-dev libelf-dev libdwarf-dev
54+
55+ - name : Build wheel
56+ run : |
57+ pypy -m pip install wheel
58+ pypy -m pip wheel .
59+
60+ - name : Install wheel
61+ run : pypy -m pip install vmprof*.whl
62+
63+ - name : Test wheel
64+ run : |
65+ pypy -m pip install -r test_requirements.txt
66+ pypy -m pytest vmprof
67+ pypy -m pytest jitlog
68+ # Uh-oh. packaging.tags does not support a pp3-none-any wheel tag.
69+ # The wheel name is something like
70+ # vmprof-0.4.15-py3-none-any.whl
71+ # when it should be
72+ # vmprof-0.4.15-pp3-none-any.whl
73+
You can’t perform that action at this time.
0 commit comments