File tree 1 file changed +60
-0
lines changed
1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Windows Build
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+
7
+ jobs :
8
+ buildWin :
9
+ runs-on : ${{ matrix.os }}
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ os : [windows-latest]
14
+ architecture : ['x64']
15
+ include :
16
+ # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
17
+ - os : windows-latest
18
+ skip : " *win32 pp*"
19
+
20
+ name : ${{ matrix.os }} ${{ matrix.architecture}}
21
+ env :
22
+ CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
23
+ CIBW_BEFORE_ALL : " pip install cython"
24
+ CIBW_SKIP : ${{ matrix.skip }}
25
+ CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
26
+ CIBW_TEST_SKIP : " *"
27
+ CIBW_BEFORE_TEST : " git status"
28
+
29
+ steps :
30
+ - uses : actions/checkout@v4
31
+ with :
32
+ fetch-depth : 0
33
+
34
+ - name : Setup Python
35
+ uses : actions/setup-python@v5
36
+ with :
37
+ python-version : " 3.12"
38
+
39
+ - name : Set up QEMU
40
+ if : runner.os == 'Linux'
41
+ uses : docker/setup-qemu-action@v3
42
+ with :
43
+ platforms : all
44
+
45
+ - name : Add msbuild to PATH
46
+ if : runner.os == 'Windows'
47
+ uses : microsoft/setup-msbuild@v2
48
+
49
+ - name : delvewheel install
50
+ if : runner.os == 'Windows'
51
+ run : |
52
+ python -m pip install delvewheel cython
53
+
54
+ - name : Build wheels
55
+ uses : joerick/cibuildwheel@v2.18.1
56
+
57
+ - uses : actions/upload-artifact@v3
58
+ with :
59
+ path : ./wheelhouse/*.whl
60
+ name : wheels
You can’t perform that action at this time.
0 commit comments