|
22 | 22 | os: [ubuntu-latest, macos-latest, windows-latest] |
23 | 23 |
|
24 | 24 | steps: |
25 | | - - uses: actions/checkout@v3 |
| 25 | + - uses: actions/checkout@v4 |
26 | 26 |
|
27 | 27 | - name: Build wheels |
28 | 28 | |
|
31 | 31 | # CIBW_SOME_OPTION: value |
32 | 32 | env: |
33 | 33 | # List of platforms to build on |
34 | | - CIBW_BUILD: cp3{8,9,10,11}-manylinux_x86_64 cp3{8,9,10,11}-macosx_x86_64 cp3{8,9,10,11}-macosx_arm64 cp3{8,9,10,11}-win_amd64 |
| 34 | + CIBW_BUILD: cp3{8,9,10,11,12}-manylinux_x86_64 cp3{8,9,10,11,12}-macosx_x86_64 cp3{8,9,10,11,12}-macosx_arm64 cp3{8,9,10,11,12}-win_amd64 |
35 | 35 |
|
36 | 36 | # Install Eigen and pybind11 on manylinux images (no brew, need Eigen >= 3.4) |
37 | 37 | CIBW_BEFORE_ALL_LINUX: > |
@@ -62,21 +62,23 @@ jobs: |
62 | 62 | CIBW_TEST_REQUIRES: numpy |
63 | 63 | CIBW_TEST_COMMAND: python {project}/tests/test_multistart.py |
64 | 64 |
|
65 | | - - uses: actions/upload-artifact@v3 |
| 65 | + - uses: actions/upload-artifact@v4 |
66 | 66 | with: |
| 67 | + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} |
67 | 68 | path: ./wheelhouse/*.whl |
68 | 69 |
|
69 | 70 | build_sdist: |
70 | 71 | name: Build source distribution |
71 | 72 | runs-on: ubuntu-latest |
72 | 73 | steps: |
73 | | - - uses: actions/checkout@v3 |
| 74 | + - uses: actions/checkout@v4 |
74 | 75 |
|
75 | 76 | - name: Build sdist |
76 | 77 | run: pipx run build --sdist |
77 | 78 |
|
78 | | - - uses: actions/upload-artifact@v3 |
| 79 | + - uses: actions/upload-artifact@v4 |
79 | 80 | with: |
| 81 | + name: cibw-sdist |
80 | 82 | path: dist/*.tar.gz |
81 | 83 |
|
82 | 84 | upload_pypi: |
|
89 | 91 | steps: |
90 | 92 | - uses: actions/download-artifact@v4 |
91 | 93 | with: |
92 | | - name: artifact |
| 94 | + # unpacks all CIBW artifacts into dist/ |
| 95 | + pattern: cibw-* |
93 | 96 | path: dist |
| 97 | + merge-multiple: true |
94 | 98 |
|
95 | 99 | |
96 | 100 | with: |
|
0 commit comments