|
| 1 | +# Copyright (C) 2025 Mohamed Gaber |
| 2 | +# |
| 3 | +# Adapted from Yosys wheels |
| 4 | +# |
| 5 | +# Copyright (C) 2024 Efabless Corporation |
| 6 | +# |
| 7 | +# Permission to use, copy, modify, and/or distribute this software for any |
| 8 | +# purpose with or without fee is hereby granted, provided that the above |
| 9 | +# copyright notice and this permission notice appear in all copies. |
| 10 | +# |
| 11 | +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 | +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 13 | +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 14 | +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 15 | +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 16 | +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 | +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
1 | 18 | name: Build Wheels for PyPI |
2 | 19 |
|
3 | 20 | # Events that trigger workflow |
|
33 | 50 | archs: "x86_64,arm64", |
34 | 51 | }, |
35 | 52 | { |
36 | | - name: "Windows Server 2019", |
37 | | - runner: "windows-2019", |
| 53 | + name: "Windows Server 2022", |
| 54 | + runner: "windows-2022", |
38 | 55 | archs: "AMD64,ARM64", |
39 | 56 | }, |
40 | 57 | ] |
|
55 | 72 | - name: Build wheels |
56 | 73 | uses: pypa/cibuildwheel@v2.21.1 |
57 | 74 | env: |
58 | | - # * APIs not supported by PyPy |
59 | | - # * Musllinux disabled because it increases build time from 48m to ~3h |
60 | 75 | CIBW_ARCHS: ${{ matrix.os.archs }} |
61 | 76 | CIBW_BUILD_VERBOSITY: "1" |
62 | | - # manylinux2014 (default) does not have a modern enough C++ compiler for Yosys |
63 | 77 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 |
64 | 78 | CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 |
65 | 79 | - uses: actions/upload-artifact@v4 |
|
0 commit comments