1313# ------------------
1414
1515 test-from-src :
16- runs-on : ubuntu-20 .04
16+ runs-on : ubuntu-24 .04
1717 strategy :
1818 matrix :
1919 image :
3333 strategy :
3434 matrix :
3535 os :
36- - " ubuntu-20 .04"
37- - " macos-10. 15"
38- python : ["3.7 ", "3.8 ", "3.9 ", "3.10 "]
36+ - " ubuntu-24 .04"
37+ - " macos-15"
38+ python : ["3.10 ", "3.11 ", "3.12 ", "3.13 "]
3939 runs-on : ${{ matrix.os }}
4040 steps :
4141 - uses : actions/checkout@v2
5151 strategy :
5252 matrix :
5353 os :
54- - " ubuntu-20 .04"
55- - " macos-10. 15"
54+ - " ubuntu-25 .04"
55+ - " macos-15"
5656 shared-lib : ["ON", "OFF"]
5757 runs-on : ${{ matrix.os }}
5858 steps :
6767
6868 # Currenlty only sanitize address without Python
6969 test-with-sanitizer :
70- runs-on : ubuntu-20 .04
70+ runs-on : ubuntu-24 .04
7171 steps :
7272 - uses : actions/checkout@v2
7373 - uses : mamba-org/provision-with-micromamba@v11
7878 run : ./dev/run.sh --fix-pythonpath configure -D SANITIZE_ADDRESS=ON -D CMAKE_BUILD_TYPE=CondaRelease -- ctest-lib
7979
8080 check-code :
81- runs-on : ubuntu-20 .04
81+ runs-on : ubuntu-24 .04
8282 steps :
8383 - uses : actions/checkout@v2
8484 - uses : mamba-org/provision-with-micromamba@v11
@@ -88,19 +88,19 @@ jobs:
8888 run : ./dev/run.sh --fix-pythonpath configure -D CMAKE_BUILD_TYPE=CondaRelease -- check-code
8989
9090 test-doc :
91- runs-on : ubuntu-20 .04
91+ runs-on : ubuntu-24 .04
9292 steps :
9393 - uses : actions/checkout@v2
9494 - uses : mamba-org/provision-with-micromamba@v11
9595 with :
9696 environment-file : dev/conda.yaml
97- extra-specs : python="3.9 "
97+ extra-specs : python="3.10 "
9898 - name : " Configure and build ecole-py-ext. Build and test documentation."
9999 shell : bash -l {0}
100100 run : ./dev/run.sh --fix-pythonpath configure -D CMAKE_BUILD_TYPE=CondaRelease -- test-doc
101101
102102 test-dist :
103- runs-on : ubuntu-20 .04
103+ runs-on : ubuntu-24 .04
104104 steps :
105105 - uses : actions/checkout@v2
106106 - uses : mamba-org/provision-with-micromamba@v11
@@ -110,7 +110,7 @@ jobs:
110110 run : ./dev/run.sh test-dist
111111
112112 test-example-libecole :
113- runs-on : ubuntu-20 .04
113+ runs-on : ubuntu-24 .04
114114 steps :
115115 - uses : actions/checkout@v2
116116 - uses : mamba-org/provision-with-micromamba@v11
@@ -120,7 +120,7 @@ jobs:
120120 run : ./dev/run.sh configure -D ECOLE_BUILD_PY_EXT=OFF -D BUILD_SHARED_LIBS=ON -- test-example-libecole
121121
122122 test-example-configuring :
123- runs-on : ubuntu-20 .04
123+ runs-on : ubuntu-24 .04
124124 steps :
125125 - uses : actions/checkout@v2
126126 - uses : mamba-org/provision-with-micromamba@v11
@@ -137,7 +137,7 @@ jobs:
137137 run : ./dev/run.sh --fix-pythonpath configure -- test-example-configuring
138138
139139 test-example-branching :
140- runs-on : ubuntu-20 .04
140+ runs-on : ubuntu-24 .04
141141 steps :
142142 - uses : actions/checkout@v2
143143 - uses : mamba-org/provision-with-micromamba@v11
@@ -182,7 +182,7 @@ jobs:
182182 deploy-latest-doc :
183183 if : ${{ github.ref == 'refs/heads/master' }}
184184 needs : all-tests
185- runs-on : ubuntu-20 .04
185+ runs-on : ubuntu-24 .04
186186 steps :
187187 - uses : actions/checkout@v2
188188 with : {fetch-depth: 0}
@@ -218,15 +218,15 @@ jobs:
218218 test-version :
219219 if : ${{ startsWith(github.ref, 'refs/tags/v') }}
220220 needs : all-tests
221- runs-on : ubuntu-20 .04
221+ runs-on : ubuntu-24 .04
222222 steps :
223223 - uses : actions/checkout@v2
224224 - name : " Check version file matches the version."
225225 run : ./dev/run.sh test-version "${GITHUB_REF#refs/tags/}"
226226
227227 deploy-version-doc :
228228 needs : test-version
229- runs-on : ubuntu-20 .04
229+ runs-on : ubuntu-24 .04
230230 steps :
231231 - uses : actions/checkout@v2
232232 - uses : mamba-org/provision-with-micromamba@v11
@@ -250,7 +250,7 @@ jobs:
250250 delete_existing : false
251251
252252 deploy-pypi :
253- runs-on : ubuntu-20 .04
253+ runs-on : ubuntu-24 .04
254254 needs : test-version
255255 steps :
256256 - uses : actions/checkout@v2
0 commit comments