Skip to content

Commit 885a74f

Browse files
committedFeb 12, 2025·
CI: Upgrade build tools.
1 parent 5841c4b commit 885a74f

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed
 

‎.github/workflows/ci.yml

+19-23
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.10"
17+
python-version: "3.12"
1818

1919
- name: Install Dependency
2020
run: |
@@ -36,13 +36,16 @@ jobs:
3636
fail-fast: false
3737

3838
matrix:
39-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
39+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
40+
os: ["ubuntu-latest"]
4041

41-
#include:
42-
# - python-version: "3.14-dev"
43-
# allowed_failure: true
42+
include:
43+
- python-version: "3.7"
44+
os: ubuntu-22.04
45+
#- python-version: "3.14-dev"
46+
# allowed_failure: true
4447

45-
runs-on: ubuntu-latest
48+
runs-on: ${{ matrix.os }}
4649

4750
steps:
4851
- uses: actions/checkout@v4
@@ -82,49 +85,42 @@ jobs:
8285
- manylinux1_i686
8386
- manylinux_2_24_i686
8487
- manylinux_2_24_x86_64
85-
- manylinux_2_28_x86_64
88+
- manylinux_2_34_x86_64
8689
- musllinux_1_1_x86_64
87-
pyversion: ["cp"]
90+
- musllinux_1_2_x86_64
91+
os: ["ubuntu-latest"]
8892

8993
include:
9094
- image: manylinux_2_24_aarch64
91-
pyversion: "cp38"
92-
- image: manylinux_2_24_aarch64
93-
pyversion: "cp39"
94-
- image: manylinux_2_24_aarch64
95-
pyversion: "cp310"
96-
- image: manylinux_2_24_aarch64
97-
pyversion: "cp311"
98-
- image: manylinux_2_28_aarch64
99-
pyversion: "cp312"
100-
- image: manylinux_2_28_aarch64
101-
pyversion: "cp313"
95+
os: ubuntu-24.04-arm
96+
- image: manylinux_2_34_aarch64
97+
os: ubuntu-24.04-arm
10298

103-
runs-on: ubuntu-latest
99+
runs-on: ${{ matrix.os }}
104100

105101
steps:
106102
- uses: actions/checkout@v4
107103

108104
- name: Set up Python
109105
uses: actions/setup-python@v5
110106
with:
111-
python-version: "3.10"
107+
python-version: "3.12"
112108

113109
- name: Install Dependency
114110
run: |
115111
python -m pip install -U pip setuptools && python -m pip install --pre -r requirements.txt
116112
117113
- name: Building wheel
118114
run: |
119-
make PYTHON_WHEEL_BUILD_VERSION="${{ matrix.pyversion }}*" sdist wheel_${{ matrix.image }}
115+
make PYTHON_WHEEL_BUILD_VERSION="cp*" sdist wheel_${{ matrix.image }}
120116
121117
- name: Copy wheels in dist
122118
run: cp -v wheelhouse*/*-m*linux*.whl dist/ # manylinux / musllinux
123119

124120
- name: Archive Wheels
125121
uses: actions/upload-artifact@v4
126122
with:
127-
name: wheels-${{ matrix.image }}-${{ matrix.pyversion }}
123+
name: wheels-${{ matrix.image }}
128124
path: dist/*.whl
129125
if-no-files-found: ignore
130126

0 commit comments

Comments
 (0)
Please sign in to comment.