@@ -3,25 +3,32 @@ on: workflow_dispatch
33
44jobs :
55 build :
6- name : build on ${{ matrix.os }}
7- runs-on : ${{ matrix.os }}
6+ name : build ${{ matrix.build }}
7+ runs-on : ${{ matrix.runner }}
88 strategy :
99 matrix :
10- os :
11- - ubuntu-22.04
12- - ubuntu-22.04-arm
13- - macos-13
14- - macos-14
15- - windows-2022
1610 include :
17- - wget : wget
18- - os : macos-13
11+ - build : Linux-x64
12+ runner : ubuntu-22.04
1913 arch : x86_64
20- target : 13.0
21- - os : macos-14
22- arch : arm64
14+ wget : wget
15+ - build : Linux-arm64
16+ runner : ubuntu-22.04-arm
17+ arch : aarch64
18+ wget : wget
19+ - build : MacOS-x64
20+ runner : macos-15-intel
21+ target : 14.0
22+ arch : x86_64
23+ wget : wget
24+ - build : MacOS-arm64
25+ runner : macos-14
2326 target : 14.0
24- - os : windows-2022
27+ arch : arm64
28+ wget : wget
29+ - build : Windows-x64
30+ runner : windows-2022
31+ arch : AMD64
2532 wget : c:/msys64/usr/bin/wget.exe
2633 env :
2734 EXIV2_SRC : >
7077 - name : Build exiv2 (Windows)
7178 if : ${{ runner.os == 'Windows' }}
7279 run : >
73- pip install conan==1.59 .0 &&
80+ pip install conan==1.66 .0 &&
7481 cd libexiv2 &&
7582 echo -e "24a25\n> self.requires('libgettext/0.21')" |
7683 patch conanfile.py &&
@@ -91,11 +98,11 @@ jobs:
9198 cmake --install build-base_mac --config Release
9299
93100 - name : Build wheels (Python 3.6 & 3.7)
94- if : ${{ matrix .os != 'macos-14 ' }}
101+ if : ${{ runner .os != 'macOS ' }}
95102 # cibuildwheel@v3.x omits Python 3.6 & 3.7
96103 uses : pypa/cibuildwheel@v2.23.3
97104 env :
98- CIBW_ARCHS : auto64
105+ CIBW_ARCHS : ${{ matrix.arch }}
99106 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
100107 CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
101108 CIBW_ENVIRONMENT_LINUX : >
@@ -128,7 +135,7 @@ jobs:
128135 - name : Build wheels (Python 3.8+)
129136 uses : pypa/cibuildwheel@v3.2.1
130137 env :
131- CIBW_ARCHS : auto64
138+ CIBW_ARCHS : ${{ matrix.arch }}
132139 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
133140 CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
134141 CIBW_ENVIRONMENT_LINUX : >
@@ -139,11 +146,10 @@ jobs:
139146 EXIV2_ROOT=libexiv2/build-win-release/install
140147 CIBW_ENVIRONMENT_PASS_LINUX : EXIV2_OPTIONS
141148 CIBW_BUILD : " cp*"
142- CIBW_SKIP : " *musllinux* cp36* cp37* "
149+ CIBW_SKIP : " *musllinux*"
143150 CIBW_TEST_COMMAND : >
144151 python -m exiv2 -v &&
145152 python -m unittest discover {project}/tests -v
146- CIBW_TEST_SKIP : cp36-macosx_x86_64 cp37-macosx_x86_64
147153 CIBW_BEFORE_ALL_LINUX : >
148154 yum install -y --nogpgcheck zlib-devel expat-devel gettext-devel
149155 libcurl-devel brotli-devel meson &&
@@ -161,5 +167,5 @@ jobs:
161167 - name : Store results
162168 uses : actions/upload-artifact@v4
163169 with :
164- name : exiv2-wheels-${{ runner.os }}-${{ runner.arch }}
170+ name : exiv2-wheels-${{ matrix.build }}
165171 path : wheelhouse/*.whl
0 commit comments