|
8 | 8 | - 'v*'
|
9 | 9 |
|
10 | 10 | jobs:
|
11 |
| - build_wheels_linux: |
12 |
| - name: Build wheels on Linux |
13 |
| - runs-on: ubuntu-latest |
14 |
| - # Uncomment for testing |
15 |
| - # if: false |
16 |
| - |
17 |
| - steps: |
18 |
| - - uses: actions/checkout@v4 |
19 |
| - with: |
20 |
| - submodules: true |
21 |
| - |
22 |
| - - name: Build wheels |
23 |
| - |
24 |
| - env: |
25 |
| - CIBW_BUILD_VERBOSITY: 3 |
26 |
| - # Note use of yum because anylinux is ancient CentOS |
27 |
| - CIBW_BEFORE_ALL: "yum install -y libicu-devel" |
28 |
| - CIBW_CONFIG_SETTINGS: "cmake.args=-DCMAKE_BUILD_TYPE=Release" |
29 |
| - # Uncomment for testing |
30 |
| - # CIBW_BUILD: "cp312-*" |
31 |
| - |
32 |
| - - uses: actions/upload-artifact@v4 |
33 |
| - with: |
34 |
| - name: cibw-wheels-linux |
35 |
| - path: ./wheelhouse/*.whl |
36 |
| - |
37 |
| - build_wheels_macos: |
38 |
| - name: Build wheels on MacOS |
39 |
| - # Otherwise people with older Macs are out of luck |
40 |
| - runs-on: macOS-latest |
41 |
| - # Uncomment for testing |
42 |
| - # if: false |
43 |
| - |
44 |
| - steps: |
45 |
| - - uses: actions/checkout@v4 |
46 |
| - with: |
47 |
| - submodules: true |
48 |
| - |
49 |
| - - name: Install packages |
50 |
| - run: brew install autoconf-archive autoconf automake pkg-config |
51 |
| - |
52 |
| - - name: vcpkg setup |
53 |
| - run: | |
54 |
| - git clone --depth 1 https://github.com/Microsoft/vcpkg.git |
55 |
| - ./vcpkg/bootstrap-vcpkg.sh |
56 |
| -
|
57 |
| - - name: Build wheels |
58 |
| - run: | |
59 |
| - pip wheel -C "cmake.args=-DCMAKE_BUILD_TYPE=Release;-DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake" -v . |
60 |
| -
|
61 |
| - - uses: actions/upload-artifact@v4 |
62 |
| - with: |
63 |
| - name: cibw-wheels-macos |
64 |
| - path: ./*.whl |
65 |
| - |
66 |
| - build_wheels_windows: |
67 |
| - name: Build wheels on Windows |
68 |
| - runs-on: windows-latest |
69 |
| - # Uncomment for testing |
70 |
| - # if: false |
71 |
| - |
72 |
| - steps: |
73 |
| - - uses: actions/checkout@v4 |
74 |
| - with: |
75 |
| - submodules: true |
76 |
| - |
77 |
| - - name: vcpkg build |
78 |
| - id: vcpkg |
79 |
| - uses: johnwason/vcpkg-action@v6 |
80 |
| - with: |
81 |
| - manifest-dir: ${{ github.workspace }} |
82 |
| - triplet: x64-windows-release |
83 |
| - token: ${{ github.token }} |
84 |
| - github-binarycache: true |
85 |
| - |
86 |
| - - name: Build wheels |
87 |
| - |
88 |
| - env: |
89 |
| - CIBW_BUILD_VERBOSITY: 3 |
90 |
| - CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" |
91 |
| - CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --add-path ${{ github.workspace }}/vcpkg/installed/x64-windows-release/bin -w {dest_dir} {wheel}" |
92 |
| - CIBW_CONFIG_SETTINGS: "cmake.args='-A x64;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake'" |
93 |
| - |
94 |
| - - uses: actions/upload-artifact@v4 |
95 |
| - with: |
96 |
| - name: cibw-wheels-windows |
97 |
| - path: ./wheelhouse/*.whl |
| 11 | + # build_wheels_linux: |
| 12 | + # name: Build wheels on Linux |
| 13 | + # runs-on: ubuntu-latest |
| 14 | + # # Uncomment for testing |
| 15 | + # # if: false |
| 16 | + |
| 17 | + # steps: |
| 18 | + # - uses: actions/checkout@v4 |
| 19 | + # with: |
| 20 | + # submodules: true |
| 21 | + |
| 22 | + # - name: Build wheels |
| 23 | + |
| 24 | + # env: |
| 25 | + # CIBW_BUILD_VERBOSITY: 3 |
| 26 | + # # Note use of yum because anylinux is ancient CentOS |
| 27 | + # CIBW_BEFORE_ALL: "yum install -y libicu-devel" |
| 28 | + # CIBW_CONFIG_SETTINGS: "cmake.args=-DCMAKE_BUILD_TYPE=Release" |
| 29 | + # # Uncomment for testing |
| 30 | + # # CIBW_BUILD: "cp312-*" |
| 31 | + |
| 32 | + # - uses: actions/upload-artifact@v4 |
| 33 | + # with: |
| 34 | + # name: cibw-wheels-linux |
| 35 | + # path: ./wheelhouse/*.whl |
| 36 | + |
| 37 | + # build_wheels_macos: |
| 38 | + # name: Build wheels on MacOS |
| 39 | + # # Otherwise people with older Macs are out of luck |
| 40 | + # runs-on: macOS-latest |
| 41 | + # # Uncomment for testing |
| 42 | + # # if: false |
| 43 | + |
| 44 | + # steps: |
| 45 | + # - uses: actions/checkout@v4 |
| 46 | + # with: |
| 47 | + # submodules: true |
| 48 | + |
| 49 | + # - name: Install packages |
| 50 | + # run: brew install autoconf-archive autoconf automake pkg-config |
| 51 | + |
| 52 | + # - name: vcpkg setup |
| 53 | + # run: | |
| 54 | + # git clone --depth 1 https://github.com/Microsoft/vcpkg.git |
| 55 | + # ./vcpkg/bootstrap-vcpkg.sh |
| 56 | + |
| 57 | + # - name: Build wheels |
| 58 | + # run: | |
| 59 | + # pip wheel -C "cmake.args=-DCMAKE_BUILD_TYPE=Release;-DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake" -v . |
| 60 | + |
| 61 | + # - uses: actions/upload-artifact@v4 |
| 62 | + # with: |
| 63 | + # name: cibw-wheels-macos |
| 64 | + # path: ./*.whl |
| 65 | + |
| 66 | + # build_wheels_windows: |
| 67 | + # name: Build wheels on Windows |
| 68 | + # runs-on: windows-latest |
| 69 | + # # Uncomment for testing |
| 70 | + # # if: false |
| 71 | + |
| 72 | + # steps: |
| 73 | + # - uses: actions/checkout@v4 |
| 74 | + # with: |
| 75 | + # submodules: true |
| 76 | + |
| 77 | + # - name: vcpkg build |
| 78 | + # id: vcpkg |
| 79 | + # uses: johnwason/vcpkg-action@v6 |
| 80 | + # with: |
| 81 | + # manifest-dir: ${{ github.workspace }} |
| 82 | + # triplet: x64-windows-release |
| 83 | + # token: ${{ github.token }} |
| 84 | + # github-binarycache: true |
| 85 | + |
| 86 | + # - name: Build wheels |
| 87 | + |
| 88 | + # env: |
| 89 | + # CIBW_BUILD_VERBOSITY: 3 |
| 90 | + # CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" |
| 91 | + # CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --add-path ${{ github.workspace }}/vcpkg/installed/x64-windows-release/bin -w {dest_dir} {wheel}" |
| 92 | + # CIBW_CONFIG_SETTINGS: "cmake.args='-A x64;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake'" |
| 93 | + |
| 94 | + # - uses: actions/upload-artifact@v4 |
| 95 | + # with: |
| 96 | + # name: cibw-wheels-windows |
| 97 | + # path: ./wheelhouse/*.whl |
98 | 98 |
|
99 | 99 | build_sdist:
|
100 | 100 | name: Build source distribution
|
@@ -141,9 +141,9 @@ jobs:
|
141 | 141 | needs:
|
142 | 142 | - build_sdist
|
143 | 143 | # Comment the next three for testing
|
144 |
| - - build_wheels_linux |
145 |
| - - build_wheels_windows |
146 |
| - - build_wheels_macos |
| 144 | + # - build_wheels_linux |
| 145 | + # - build_wheels_windows |
| 146 | + # - build_wheels_macos |
147 | 147 | runs-on: ubuntu-latest
|
148 | 148 | environment: pypi
|
149 | 149 | permissions:
|
|
0 commit comments