Skip to content

Commit 03c68eb

Browse files
fixup! Update wheel action
1 parent 4e99274 commit 03c68eb

1 file changed

Lines changed: 74 additions & 58 deletions

File tree

.github/workflows/wheel.yml

Lines changed: 74 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
name: Make SDist
1818
runs-on: ubuntu-latest
1919
steps:
20+
- name: Print env
21+
run: |
22+
echo github.ref: ${{github.ref}}
23+
echo github.event.action: ${{github.event.action}}
24+
echo github.event_name: ${{github.event_name}}
25+
echo runner.os: ${{runner.os}}
2026
- uses: actions/checkout@v4
2127
with:
2228
fetch-depth: 0
@@ -28,6 +34,7 @@ jobs:
2834
path: dist/*.tar.gz
2935

3036
# reference https://github.com/scikit-learn/scikit-learn/blob/main/.github/workflows/wheels.yml
37+
# github runners https://docs.github.com/en/actions/reference/runners/github-hosted-runners
3138
build_wheels:
3239
name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
3340
runs-on: ${{ matrix.os }}
@@ -36,83 +43,91 @@ jobs:
3643
fail-fast: false
3744
matrix:
3845
include:
39-
# Window 64 bit
40-
- os: windows-latest
41-
python: 311
42-
platform_id: win_amd64
43-
- os: windows-latest
44-
python: 312
45-
platform_id: win_amd64
46-
- os: windows-latest
47-
python: 313
48-
platform_id: win_amd64
49-
- os: windows-latest
50-
python: 314
51-
platform_id: win_amd64
52-
53-
# Linux 64 bit manylinux_2_28
54-
- os: ubuntu-latest
55-
python: 311
56-
platform_id: manylinux_x86_64
57-
manylinux_image: manylinux_2_28
58-
- os: ubuntu-latest
59-
python: 312
60-
platform_id: manylinux_x86_64
61-
manylinux_image: manylinux_2_28
62-
- os: ubuntu-latest
63-
python: 313
64-
platform_id: manylinux_x86_64
65-
manylinux_image: manylinux_2_28
66-
- os: ubuntu-latest
67-
python: 314
68-
platform_id: manylinux_x86_64
69-
manylinux_image: manylinux_2_28
70-
71-
# Linux 64 bit manylinux_2_28
72-
- os: ubuntu-24.04-arm
73-
python: 311
74-
platform_id: manylinux_aarch64
75-
manylinux_image: manylinux_2_28
76-
- os: ubuntu-24.04-arm
77-
python: 312
78-
platform_id: manylinux_aarch64
79-
manylinux_image: manylinux_2_28
80-
- os: ubuntu-24.04-arm
81-
python: 313
82-
platform_id: manylinux_aarch64
83-
manylinux_image: manylinux_2_28
84-
- os: ubuntu-24.04-arm
85-
python: 314
86-
platform_id: manylinux_aarch64
87-
manylinux_image: manylinux_2_28
46+
## Window 64 bit
47+
#- os: windows-latest
48+
# python: 311
49+
# platform_id: win_amd64
50+
#- os: windows-latest
51+
# python: 312
52+
# platform_id: win_amd64
53+
#- os: windows-latest
54+
# python: 313
55+
# platform_id: win_amd64
56+
#- os: windows-latest
57+
# python: 314
58+
# platform_id: win_amd64
59+
#
60+
## Linux 64 bit manylinux_2_28
61+
#- os: ubuntu-latest
62+
# python: 311
63+
# platform_id: manylinux_x86_64
64+
# manylinux_image: manylinux_2_28
65+
#- os: ubuntu-latest
66+
# python: 312
67+
# platform_id: manylinux_x86_64
68+
# manylinux_image: manylinux_2_28
69+
#- os: ubuntu-latest
70+
# python: 313
71+
# platform_id: manylinux_x86_64
72+
# manylinux_image: manylinux_2_28
73+
#- os: ubuntu-latest
74+
# python: 314
75+
# platform_id: manylinux_x86_64
76+
# manylinux_image: manylinux_2_28
77+
#
78+
## Linux 64 bit manylinux_2_28
79+
#- os: ubuntu-24.04-arm
80+
# python: 311
81+
# platform_id: manylinux_aarch64
82+
# manylinux_image: manylinux_2_28
83+
#- os: ubuntu-24.04-arm
84+
# python: 312
85+
# platform_id: manylinux_aarch64
86+
# manylinux_image: manylinux_2_28
87+
#- os: ubuntu-24.04-arm
88+
# python: 313
89+
# platform_id: manylinux_aarch64
90+
# manylinux_image: manylinux_2_28
91+
#- os: ubuntu-24.04-arm
92+
# python: 314
93+
# platform_id: manylinux_aarch64
94+
# manylinux_image: manylinux_2_28
8895

8996
## MacOS x86_64
90-
- os: macos-13
97+
- os: macos-15-intel
9198
python: 311
9299
platform_id: macosx_x86_64
93-
- os: macos-13
100+
manylinux_image: none
101+
- os: macos-15-intel
94102
python: 312
95103
platform_id: macosx_x86_64
96-
- os: macos-13
104+
manylinux_image: none
105+
- os: macos-15-intel
97106
python: 313
98107
platform_id: macosx_x86_64
99-
- os: macos-13
108+
manylinux_image: none
109+
- os: macos-15-intel
100110
python: 314
101111
platform_id: macosx_x86_64
112+
manylinux_image: none
102113

103114
## MacOS arm64
104-
- os: macos-14
115+
- os: macos-15
105116
python: 311
106117
platform_id: macosx_arm64
107-
- os: macos-14
118+
manylinux_image: none
119+
- os: macos-15
108120
python: 312
109121
platform_id: macosx_arm64
110-
- os: macos-14
122+
manylinux_image: none
123+
- os: macos-15
111124
python: 313
112125
platform_id: macosx_arm64
113-
- os: macos-13
126+
manylinux_image: none
127+
- os: macos-15
114128
python: 314
115129
platform_id: macosx_arm64
130+
manylinux_image: none
116131

117132
steps:
118133
- uses: actions/checkout@v6
@@ -131,6 +146,7 @@ jobs:
131146
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
132147
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}
133148
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux_image }}
149+
MACOSX_DEPLOYMENT_TARGET: 10.15
134150

135151
- uses: actions/upload-artifact@v4
136152
with:
@@ -140,7 +156,7 @@ jobs:
140156
upload_all:
141157
needs: [build_wheels, make_sdist]
142158
runs-on: ubuntu-latest
143-
if: ${{ contains(github.ref, 'release') }}
159+
if: contains(github.ref, 'release')
144160
steps:
145161
- uses: actions/download-artifact@v4
146162
with:

0 commit comments

Comments
 (0)