File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 5353 include :
5454 - python-version : " 3.8"
5555 cmake-extras : " -DCMAKE_CXX_STANDARD=17"
56+ - python-version : " 3.10-dev"
5657
5758 name : CMake Python ${{ matrix.python-version }}
5859
@@ -90,12 +91,11 @@ jobs:
9091 with :
9192 submodules : true
9293
93- - uses : pypa/cibuildwheel@v1.12.0
94+ - uses : pypa/cibuildwheel@v2.0.0a4
9495 env :
95- CIBW_BUILD : cp38-win_amd64 cp36-manylinux_i686 cp37-macosx_x86_64
96- CIBW_TEST_EXTRAS : test
97- CIBW_TEST_COMMAND : pytest {project}/tests
96+ CIBW_BUILD : cp38-win_amd64 cp310-manylinux_i686 cp37-macosx_x86_64
9897 CIBW_BUILD_VERBOSITY : 1
98+ CIBW_PRERELEASE_PYTHONS : 1
9999
100100 - uses : actions/upload-artifact@v2
101101 with :
Original file line number Diff line number Diff line change 2020env :
2121 SETUPTOOLS_SCM_PRETEND_VERSION : ${{ github.event.inputs.overrideVersion }}
2222 CIBW_ENVIRONMENT : " PIP_ONLY_BINARY=numpy SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
23- CIBW_TEST_EXTRAS : test
24- CIBW_TEST_COMMAND : " pytest {project}/tests"
25- CIBW_TEST_SKIP : " pp*macos* pp*win* pp27-* *universal2:arm64"
2623
2724jobs :
2825 build_sdist :
3431 submodules : true
3532
3633 - name : Build SDist
37- run : pipx run --spec build pyproject- build --sdist
34+ run : pipx run build --sdist
3835
3936 - name : Check metadata
4037 run : pipx run twine check dist/*
6158 with :
6259 platforms : all
6360
64- - uses : pypa/cibuildwheel@v1.12.0
61+ - uses : pypa/cibuildwheel@v2.0.0a4
6562 env :
6663 CIBW_BUILD : cp${{ matrix.python }}-*
6764 CIBW_ARCHS : ${{ matrix.arch }}
@@ -113,7 +110,7 @@ jobs:
113110 with :
114111 submodules : true
115112
116- - uses : pypa/cibuildwheel@v1.12.0
113+ - uses : pypa/cibuildwheel@v2.0.0a4
117114 env :
118115 CIBW_BUILD : ${{ matrix.build }}
119116 CIBW_MANYLINUX_I686_IMAGE : ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
Original file line number Diff line number Diff line change @@ -80,3 +80,9 @@ ignore = [
8080 " src/boost_histogram/version.py" ,
8181 " tests/.pytest_cache/**" ,
8282]
83+
84+
85+ [tool .cibuildwheel ]
86+ test-extras = " test"
87+ test-command = " pytest {project}/tests"
88+ test-skip = [" pp*macos*" , " pp*win*" , " *universal2:arm64" ]
You can’t perform that action at this time.
0 commit comments