Skip to content

Commit a4f54f0

Browse files
committed
separate
1 parent 2d7be03 commit a4f54f0

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/wheels-build.cmd

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
setlocal EnableDelayedExpansion
2+
for %%f in (winbuild\build\license\*) do (
3+
set x=%%~nf
4+
rem Skip FriBiDi license, it is not included in the wheel.
5+
set fribidi=!x:~0,7!
6+
if NOT !fribidi!==fribidi (
7+
rem Skip imagequant license, it is not included in the wheel.
8+
set libimagequant=!x:~0,13!
9+
if NOT !libimagequant!==libimagequant (
10+
echo. >> LICENSE
11+
echo ===== %%~nf ===== >> LICENSE
12+
echo. >> LICENSE
13+
type %%f >> LICENSE
14+
)
15+
)
16+
)
17+
call winbuild\\build\\build_env.cmd
18+
%pythonLocation%\python.exe -m cibuildwheel . --output-dir wheelhouse

.github/workflows/wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ jobs:
6868

6969
- name: Build wheels
7070
run: |
71-
.\\winbuild\\build\\build_env.cmd
72-
python.exe -m cibuildwheel . --output-dir wheelhouse
71+
.\\.github\\workflows\\wheels-build.cmd
7372
env:
7473
CIBW_ARCHS: ${{ matrix.cibw_arch }}
7574
CIBW_BEFORE_ALL: "{package}\\winbuild\\build\\build_dep_all.cmd"

0 commit comments

Comments
 (0)