12
12
13
13
jobs :
14
14
test :
15
- runs-on : " ubuntu-latest "
15
+ runs-on : " ubuntu-22.04 "
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
- name : Install dev-requirements
@@ -44,11 +44,11 @@ jobs:
44
44
- version : ' 3.11'
45
45
- version : ' 3.12'
46
46
platform :
47
- - os : ubuntu-latest
48
- - os : macos-latest
49
- - os : macos-latest
47
+ - os : ubuntu-22.04
48
+ - os : macos-12
49
+ - os : macos-12
50
50
arch : aarch64
51
- - os : windows-latest
51
+ - os : windows-2022
52
52
runs-on : ${{ matrix.platform.os }}
53
53
steps :
54
54
- uses : actions/checkout@v4
@@ -65,33 +65,33 @@ jobs:
65
65
key : ${{ runner.platform.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
66
66
67
67
- name : Build Wheels - Linux
68
- if : matrix.platform.os == 'ubuntu-latest '
68
+ if : matrix.platform.os == 'ubuntu-22.04 '
69
69
uses : PyO3/maturin-action@v1
70
70
with :
71
71
maturin-version : ${{ env.MATURIN_VERSION }}
72
72
manylinux : auto
73
73
args : -i python${{ matrix.python.version }} --release --strip --sdist
74
74
75
75
- name : Check that the source distribution installed correctly
76
- if : matrix.platform.os == 'ubuntu-latest '
76
+ if : matrix.platform.os == 'ubuntu-22.04 '
77
77
run : pip install target/wheels/pyxirr-*.tar.gz
78
78
79
79
- name : Build Wheels - MacOS [aarch64]
80
- if : ${{ matrix.platform.os == 'macos-latest ' && matrix.platform.arch == 'aarch64' }}
80
+ if : ${{ matrix.platform.os == 'macos-12 ' && matrix.platform.arch == 'aarch64' }}
81
81
uses : PyO3/maturin-action@v1
82
82
with :
83
83
maturin-version : ${{ env.MATURIN_VERSION }}
84
84
args : -i python --release --target aarch64-apple-darwin --strip
85
85
86
86
- name : Build Wheels - MacOS [x86_64]
87
- if : ${{ matrix.platform.os == 'macos-latest ' && matrix.platform.arch != 'aarch64' }}
87
+ if : ${{ matrix.platform.os == 'macos-12 ' && matrix.platform.arch != 'aarch64' }}
88
88
uses : PyO3/maturin-action@v1
89
89
with :
90
90
maturin-version : ${{ env.MATURIN_VERSION }}
91
91
args : -i python --release --target universal2-apple-darwin --strip
92
92
93
93
- name : Build Wheels - Windows
94
- if : matrix.platform.os == 'windows-latest '
94
+ if : matrix.platform.os == 'windows-2022 '
95
95
uses : PyO3/maturin-action@v1
96
96
with :
97
97
maturin-version : ${{ env.MATURIN_VERSION }}
@@ -122,7 +122,7 @@ jobs:
122
122
- version : ' 3.12'
123
123
abi : ' cp312-cp312'
124
124
target : [aarch64, armv7, s390x, ppc64le, ppc64]
125
- runs-on : ubuntu-latest
125
+ runs-on : ubuntu-22.04
126
126
steps :
127
127
- uses : actions/checkout@v4
128
128
- name : Build Wheels
@@ -153,7 +153,7 @@ jobs:
153
153
emscripten : 3.1.45 # pyodide 0.24.*
154
154
- python : ' 3.11'
155
155
emscripten : 3.1.32 # pyodide 0.23.*
156
- runs-on : ubuntu-latest
156
+ runs-on : ubuntu-22.04
157
157
steps :
158
158
- uses : actions/checkout@v4
159
159
- uses : mymindstorm/setup-emsdk@v14
@@ -181,7 +181,7 @@ jobs:
181
181
- i686-unknown-linux-musl
182
182
- aarch64-unknown-linux-musl
183
183
- armv7-unknown-linux-musleabihf
184
- runs-on : ubuntu-latest
184
+ runs-on : ubuntu-22.04
185
185
steps :
186
186
- uses : actions/checkout@v4
187
187
- name : Build Wheels - musl
@@ -204,7 +204,7 @@ jobs:
204
204
- linux-cross
205
205
- linux-musl
206
206
- wasm-emscripten
207
- runs-on : ubuntu-latest
207
+ runs-on : ubuntu-22.04
208
208
steps :
209
209
- uses : actions/download-artifact@v4
210
210
with :
0 commit comments