|
11 | 11 | runs-on: ${{ matrix.os }}
|
12 | 12 | strategy:
|
13 | 13 | matrix:
|
14 |
| - os: [ubuntu-20.04, windows-2019, macos-13] |
| 14 | + os: [ubuntu-20.04, windows-2019, macos-15] |
15 | 15 |
|
16 | 16 | steps:
|
17 | 17 | - uses: actions/checkout@v4
|
@@ -42,103 +42,103 @@ jobs:
|
42 | 42 | shell: cmd
|
43 | 43 |
|
44 | 44 | - name: Build wheels
|
45 |
| - uses: pypa/cibuildwheel@v2.22.0 |
| 45 | + uses: pypa/cibuildwheel@v2.23.2 |
46 | 46 | env:
|
47 | 47 | # disable repair
|
48 | 48 | CIBW_REPAIR_WHEEL_COMMAND: ""
|
49 | 49 | with:
|
50 | 50 | package-dir: .
|
51 | 51 | output-dir: wheelhouse
|
52 | 52 |
|
53 |
| - - uses: actions/upload-artifact@v4 |
54 |
| - with: |
55 |
| - name: wheels-${{ matrix.os }} |
56 |
| - path: ./wheelhouse/*.whl |
57 |
| - |
58 |
| - build_wheels_arm64: |
59 |
| - name: Build arm64 wheels |
60 |
| - runs-on: ubuntu-latest |
61 |
| - steps: |
62 |
| - - uses: actions/checkout@v4 |
63 |
| - with: |
64 |
| - submodules: "recursive" |
65 |
| - |
66 |
| - - name: Set up QEMU |
67 |
| - uses: docker/setup-qemu-action@v3 |
68 |
| - with: |
69 |
| - platforms: linux/arm64 |
70 |
| - |
71 |
| - - name: Build wheels |
72 |
| - |
73 |
| - env: |
74 |
| - CIBW_SKIP: "*musllinux* pp*" |
75 |
| - CIBW_REPAIR_WHEEL_COMMAND: "" |
76 |
| - CIBW_ARCHS: "aarch64" |
77 |
| - CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*" |
78 |
| - with: |
79 |
| - output-dir: wheelhouse |
80 |
| - |
81 |
| - - name: Upload wheels as artifacts |
82 |
| - uses: actions/upload-artifact@v4 |
83 |
| - with: |
84 |
| - name: wheels_arm64 |
85 |
| - path: ./wheelhouse/*.whl |
86 |
| - |
87 |
| - build_sdist: |
88 |
| - name: Build source distribution |
89 |
| - runs-on: ubuntu-latest |
90 |
| - |
91 |
| - steps: |
92 |
| - - uses: actions/checkout@v4 |
93 |
| - with: |
94 |
| - submodules: "recursive" |
95 |
| - |
96 |
| - - uses: actions/setup-python@v5 |
97 |
| - with: |
98 |
| - python-version: "3.9" |
99 |
| - |
100 |
| - - name: Install dependencies (Linux/MacOS) |
101 |
| - if: runner.os != 'Windows' |
102 |
| - run: | |
103 |
| - python -m pip install --upgrade pip |
104 |
| - python -m pip install uv |
105 |
| - RUST_LOG=trace python -m uv pip install -e .[all] --verbose |
106 |
| - python -m uv pip install build |
107 |
| - shell: bash |
108 |
| - |
109 |
| - - name: Install dependencies (Windows) |
110 |
| - if: runner.os == 'Windows' |
111 |
| - env: |
112 |
| - RUST_LOG: trace |
113 |
| - run: | |
114 |
| - python -m pip install --upgrade pip |
115 |
| - python -m pip install uv |
116 |
| - python -m uv pip install -e .[all] --verbose |
117 |
| - python -m uv pip install build |
118 |
| - shell: cmd |
119 |
| - |
120 |
| - - name: Build source distribution |
121 |
| - run: | |
122 |
| - python -m build --sdist |
123 |
| -
|
124 |
| - - uses: actions/upload-artifact@v4 |
125 |
| - with: |
126 |
| - name: sdist |
127 |
| - path: ./dist/*.tar.gz |
128 |
| - |
129 |
| - release: |
130 |
| - name: Release |
131 |
| - needs: [build_wheels, build_wheels_arm64, build_sdist] |
132 |
| - runs-on: ubuntu-latest |
133 |
| - |
134 |
| - steps: |
135 |
| - - uses: actions/download-artifact@v4 |
136 |
| - with: |
137 |
| - merge-multiple: true |
138 |
| - path: dist |
139 |
| - |
140 |
| - - uses: softprops/action-gh-release@v2 |
141 |
| - with: |
142 |
| - files: dist/* |
143 |
| - env: |
144 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 53 | + # - uses: actions/upload-artifact@v4 |
| 54 | + # with: |
| 55 | + # name: wheels-${{ matrix.os }} |
| 56 | + # path: ./wheelhouse/*.whl |
| 57 | + |
| 58 | + # build_wheels_arm64: |
| 59 | + # name: Build arm64 wheels |
| 60 | + # runs-on: ubuntu-latest |
| 61 | + # steps: |
| 62 | + # - uses: actions/checkout@v4 |
| 63 | + # with: |
| 64 | + # submodules: "recursive" |
| 65 | + |
| 66 | + # - name: Set up QEMU |
| 67 | + # uses: docker/setup-qemu-action@v3 |
| 68 | + # with: |
| 69 | + # platforms: linux/arm64 |
| 70 | + |
| 71 | + # - name: Build wheels |
| 72 | + |
| 73 | + # env: |
| 74 | + # CIBW_SKIP: "*musllinux* pp*" |
| 75 | + # CIBW_REPAIR_WHEEL_COMMAND: "" |
| 76 | + # CIBW_ARCHS: "aarch64" |
| 77 | + # CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*" |
| 78 | + # with: |
| 79 | + # output-dir: wheelhouse |
| 80 | + |
| 81 | + # - name: Upload wheels as artifacts |
| 82 | + # uses: actions/upload-artifact@v4 |
| 83 | + # with: |
| 84 | + # name: wheels_arm64 |
| 85 | + # path: ./wheelhouse/*.whl |
| 86 | + |
| 87 | + # build_sdist: |
| 88 | + # name: Build source distribution |
| 89 | + # runs-on: ubuntu-latest |
| 90 | + |
| 91 | + # steps: |
| 92 | + # - uses: actions/checkout@v4 |
| 93 | + # with: |
| 94 | + # submodules: "recursive" |
| 95 | + |
| 96 | + # - uses: actions/setup-python@v5 |
| 97 | + # with: |
| 98 | + # python-version: "3.9" |
| 99 | + |
| 100 | + # - name: Install dependencies (Linux/MacOS) |
| 101 | + # if: runner.os != 'Windows' |
| 102 | + # run: | |
| 103 | + # python -m pip install --upgrade pip |
| 104 | + # python -m pip install uv |
| 105 | + # RUST_LOG=trace python -m uv pip install -e .[all] --verbose |
| 106 | + # python -m uv pip install build |
| 107 | + # shell: bash |
| 108 | + |
| 109 | + # - name: Install dependencies (Windows) |
| 110 | + # if: runner.os == 'Windows' |
| 111 | + # env: |
| 112 | + # RUST_LOG: trace |
| 113 | + # run: | |
| 114 | + # python -m pip install --upgrade pip |
| 115 | + # python -m pip install uv |
| 116 | + # python -m uv pip install -e .[all] --verbose |
| 117 | + # python -m uv pip install build |
| 118 | + # shell: cmd |
| 119 | + |
| 120 | + # - name: Build source distribution |
| 121 | + # run: | |
| 122 | + # python -m build --sdist |
| 123 | + |
| 124 | + # - uses: actions/upload-artifact@v4 |
| 125 | + # with: |
| 126 | + # name: sdist |
| 127 | + # path: ./dist/*.tar.gz |
| 128 | + |
| 129 | + # release: |
| 130 | + # name: Release |
| 131 | + # needs: [build_wheels, build_wheels_arm64, build_sdist] |
| 132 | + # runs-on: ubuntu-latest |
| 133 | + |
| 134 | + # steps: |
| 135 | + # - uses: actions/download-artifact@v4 |
| 136 | + # with: |
| 137 | + # merge-multiple: true |
| 138 | + # path: dist |
| 139 | + |
| 140 | + # - uses: softprops/action-gh-release@v2 |
| 141 | + # with: |
| 142 | + # files: dist/* |
| 143 | + # env: |
| 144 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments