-
Notifications
You must be signed in to change notification settings - Fork 4
78 lines (75 loc) · 2.03 KB
/
wheel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Build PyICU wheels for Windows
on:
workflow_dispatch:
env:
PYICU_TAG: v2.14
ICU_VERSION: 76
ICU_RELEASE: 76-1/icu4c-76_1
CIBW_TEST_REQUIRES: pytest six
CIBW_TEST_COMMAND: pytest {project}/test
CIBW_SKIP: "pp* cp36*"
jobs:
build_amd64:
name: Build AMD64 wheels
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
env:
ICU_ARCH: 64
ICU_PLAT: Win64-MSVC2022
steps:
- uses: actions/checkout@v4
- run: download.cmd
shell: cmd
- uses: pypa/[email protected]
env:
CIBW_ARCHS_WINDOWS: AMD64
CIBW_ENVIRONMENT_WINDOWS: INCLUDE="include;$INCLUDE" LIB="lib$ICU_ARCH;$LIB"
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: wheels-win-amd64
build_arm64:
name: Build ARM64 wheels
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
env:
ICU_ARCH: ARM64
ICU_PLAT: WinARM64-MSVC2022
steps:
- uses: actions/checkout@v4
- run: download.cmd
shell: cmd
- uses: pypa/[email protected]
env:
CIBW_SKIP: "pp* cp36* cp37* cp38* cp39* cp310*"
CIBW_ARCHS_WINDOWS: ARM64
CIBW_ENVIRONMENT_WINDOWS: INCLUDE="include;$INCLUDE" LIB="lib$ICU_ARCH;$LIB"
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: wheels-win-arm64
# icu4c-Win32 binaries no longer published
# build_x86:
# name: Build x86 wheels
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [windows-2019]
# env:
# ICU_PLAT: Win32-MSVC2022
# steps:
# - uses: actions/checkout@v4
# - run: download.cmd
# shell: cmd
# - uses: pypa/[email protected]
# env:
# CIBW_ARCHS_WINDOWS: x86
# CIBW_ENVIRONMENT_WINDOWS: INCLUDE="include;$INCLUDE" LIB="lib$ICU_ARCH;$LIB"
# - uses: actions/upload-artifact@v4
# with:
# path: ./wheelhouse/*.whl
# name: wheels-win32