31
31
-
uses :
pre-commit/[email protected]
32
32
33
33
build-scratch :
34
- name : ${{ matrix.runs-on }} • py${{ matrix.python }}
34
+ name : " ${{ matrix.runs-on }} • py${{ matrix.python }}"
35
35
needs : pre-commit
36
36
defaults :
37
37
run :
@@ -40,54 +40,19 @@ jobs:
40
40
fail-fast : false
41
41
matrix :
42
42
include :
43
- # To minimise the computational resources, we only use a single python version and the final test-wheels for all python versions
43
+ # To minimise the computational resources, we only use a single python version and the final test-wheels for all python versions
44
44
- runs-on : ubuntu-latest
45
- python : ' 3.8 '
45
+ python : ' 3.12 '
46
46
triplet : x64-linux-mixed
47
- # - runs-on: ubuntu-latest
48
- # python: '3.9'
49
- # triplet: x64-linux-mixed
50
- # - runs-on: ubuntu-latest
51
- # python: '3.10'
52
- # triplet: x64-linux-mixed
53
- # - runs-on: ubuntu-latest
54
- # python: '3.11'
55
- # triplet: x64-linux-mixed
56
- # - runs-on: ubuntu-latest
57
- # python: '3.12'
58
- # triplet: x64-linux-mixed
59
47
60
- - runs-on : macos-12 # macos latest is macos-14-arm64 running on M1 chips which doesn't have python support
61
- python : ' 3.8 '
48
+ - runs-on : macos-13
49
+ python : ' 3.12 '
62
50
triplet : x64-osx-mixed
63
- # - runs-on: macos-12
64
- # python: '3.9'
65
- # triplet: x64-osx-mixed
66
- # - runs-on: macos-12
67
- # python: '3.10'
68
- # triplet: x64-osx-mixed
69
- # - runs-on: macos-12
70
- # python: '3.11'
71
- # triplet: x64-osx-mixed
72
- # - runs-on: macos-12
73
- # python: '3.12'
74
- # triplet: x64-osx-mixed
75
51
76
52
- runs-on : windows-latest
77
- python : ' 3.8 '
53
+ python : ' 3.12 '
78
54
triplet : x64-windows
79
- # - runs-on: windows-latest
80
- # python: '3.9'
81
- # triplet: x64-windows
82
- # - runs-on: windows-latest
83
- # python: '3.10'
84
- # triplet: x64-windows
85
- # - runs-on: windows-latest
86
- # python: '3.11'
87
- # triplet: x64-windows
88
- # - runs-on: windows-latest
89
- # python: '3.12'
90
- # triplet: x64-windows
55
+
91
56
env :
92
57
VCPKG_DEFAULT_TRIPLET : ${{ matrix.triplet }}
93
58
runs-on : ${{ matrix.runs-on }}
@@ -99,24 +64,11 @@ jobs:
99
64
with :
100
65
python-version : ${{ matrix.python }}
101
66
102
- - name : Install test dependencies
67
+ - name : Install windows cmake
103
68
# TODO(jfarebro): There's a bug with Windows cmake and PEP517 builds via pip install.
104
69
# As a temporary workaround installing cmake outside of the isolated env seems to work.
105
70
run : python -m pip install --user cmake
106
-
107
- - uses : microsoft/setup-msbuild@v2
108
71
if : runner.os == 'Windows'
109
- # TODO(jfarebro): 02/16/2023 - There's a bug where pkg-config isn't installed on the macOS
110
- # runner. See: https://github.com/actions/runner-images/pull/7125
111
- - name : Install pkg-config on macOS
112
- if : runner.os == 'macOS'
113
- run : brew install pkg-config
114
- - uses : lukka/run-vcpkg@v11
115
- with :
116
- vcpkgGitCommitId : " 8150939b69720adc475461978e07c2d2bf5fb76e"
117
- # There's a permissions issue with the cache
118
- # https://github.com/microsoft/vcpkg/issues/20121
119
- doNotCache : true
120
72
121
73
- name : Download and unpack ROMs
122
74
run : ./scripts/download_unpack_roms.sh
@@ -128,21 +80,22 @@ jobs:
128
80
run : python -m pytest
129
81
130
82
build-wheels :
131
- name : ${{ matrix.runs-on }} • ${{ matrix.arch }}
83
+ name : " ${{ matrix.runs-on }} • ${{ matrix.arch }}"
132
84
needs : pre-commit
133
85
defaults :
134
86
run :
135
87
shell : bash
136
88
strategy :
89
+ fail-fast : false
137
90
matrix :
138
91
include :
139
92
- runs-on : ubuntu-latest
140
93
arch : x86_64
141
94
- runs-on : windows-latest
142
95
arch : AMD64
143
- - runs-on : macos-12
96
+ - runs-on : macos-13
144
97
arch : x86_64
145
- - runs-on : macos-12
98
+ - runs-on : macos-13
146
99
arch : arm64
147
100
runs-on : ${{ matrix.runs-on }}
148
101
@@ -155,7 +108,6 @@ jobs:
155
108
uses : docker/setup-buildx-action@v3
156
109
with :
157
110
install : true
158
-
159
111
- name : Build Docker image with vcpkg
160
112
if : runner.os == 'linux'
161
113
# using build-push-action (without push) to make use of cache arguments
@@ -167,22 +119,6 @@ jobs:
167
119
push : false
168
120
load : true
169
121
170
- - uses : microsoft/setup-msbuild@v2
171
- if : runner.os == 'Windows'
172
- # TODO(jfarebro): 02/16/2023 - There's a bug where pkg-config isn't installed on the macOS
173
- # runner. See: https://github.com/actions/runner-images/pull/7125
174
- - name : Install pkg-config on macOS
175
- if : runner.os == 'macOS'
176
- run : brew install pkg-config
177
-
178
- - uses : lukka/run-vcpkg@v11
179
- if : runner.os != 'linux'
180
- with :
181
- vcpkgGitCommitId : " 8150939b69720adc475461978e07c2d2bf5fb76e"
182
- # There's a permissions issue with the cache
183
- # https://github.com/microsoft/vcpkg/issues/20121
184
- doNotCache : true
185
-
186
122
- name : Download and unpack ROMs
187
123
run : ./scripts/download_unpack_roms.sh
188
124
@@ -210,10 +146,6 @@ jobs:
210
146
# ale_py-0.x.x-cp310-cp310-macosx_11_0_arm64.whl
211
147
# ale_py-0.x.x-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
212
148
# ale_py-0.x.x-cp310-cp310-win_amd64.whl
213
- - runs-on : ubuntu-latest
214
- python : ' 3.8'
215
- wheel-name : ' cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64'
216
- arch : ' x86_64'
217
149
- runs-on : ubuntu-latest
218
150
python : ' 3.9'
219
151
wheel-name : ' cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64'
@@ -230,11 +162,11 @@ jobs:
230
162
python : ' 3.12'
231
163
wheel-name : ' cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64'
232
164
arch : ' x86_64'
165
+ - runs-on : ubuntu-latest
166
+ python : ' 3.13'
167
+ wheel-name : ' cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64'
168
+ arch : ' x86_64'
233
169
234
- - runs-on : windows-latest
235
- python : ' 3.8'
236
- wheel-name : ' cp38-cp38-win_amd64'
237
- arch : AMD64
238
170
- runs-on : windows-latest
239
171
python : ' 3.9'
240
172
wheel-name : ' cp39-cp39-win_amd64'
@@ -251,32 +183,32 @@ jobs:
251
183
python : ' 3.12'
252
184
wheel-name : ' cp312-cp312-win_amd64'
253
185
arch : AMD64
186
+ - runs-on : windows-latest
187
+ python : ' 3.13'
188
+ wheel-name : ' cp313-cp313-win_amd64'
189
+ arch : AMD64
254
190
255
- - runs-on : macos-12
256
- python : ' 3.8'
257
- wheel-name : ' cp38-cp38-macosx_10_15_x86_64'
258
- arch : x86_64
259
- - runs-on : macos-12
191
+ - runs-on : macos-13
260
192
python : ' 3.9'
261
193
wheel-name : ' cp39-cp39-macosx_10_15_x86_64'
262
194
arch : x86_64
263
- - runs-on : macos-12
195
+ - runs-on : macos-13
264
196
python : ' 3.10'
265
197
wheel-name : ' cp310-cp310-macosx_10_15_x86_64'
266
198
arch : x86_64
267
- - runs-on : macos-12
199
+ - runs-on : macos-13
268
200
python : ' 3.11'
269
201
wheel-name : ' cp311-cp311-macosx_10_15_x86_64'
270
202
arch : x86_64
271
- - runs-on : macos-12
203
+ - runs-on : macos-13
272
204
python : ' 3.12'
273
205
wheel-name : ' cp312-cp312-macosx_10_15_x86_64'
274
206
arch : x86_64
207
+ - runs-on : macos-13
208
+ python : ' 3.13'
209
+ wheel-name : ' cp313-cp313-macosx_10_15_x86_64'
210
+ arch : x86_64
275
211
276
- - runs-on : macos-14
277
- python : ' 3.8'
278
- wheel-name : ' cp38-cp38-macosx_11_0_arm64'
279
- arch : arm64
280
212
- runs-on : macos-14
281
213
python : ' 3.9'
282
214
wheel-name : ' cp39-cp39-macosx_11_0_arm64'
@@ -293,6 +225,10 @@ jobs:
293
225
python : ' 3.12'
294
226
wheel-name : ' cp312-cp312-macosx_11_0_arm64'
295
227
arch : arm64
228
+ - runs-on : macos-14
229
+ python : ' 3.13'
230
+ wheel-name : ' cp313-cp313-macosx_11_0_arm64'
231
+ arch : arm64
296
232
297
233
runs-on : ${{ matrix.runs-on }}
298
234
@@ -313,7 +249,7 @@ jobs:
313
249
run : python -m pip install ale_py-0.10.1-${{ matrix.wheel-name }}.whl
314
250
315
251
- name : Install Gymnasium and pytest
316
- run : python -m pip install gymnasium>=1.0.0a2 pytest
252
+ run : python -m pip install gymnasium>=1.0.0 pytest
317
253
318
254
- name : Test
319
255
run : python -m pytest
0 commit comments