Skip to content

Commit 5b55f8f

Browse files
authored
Replace ubuntu-latest with ubuntu-22.04 (#4382)
* Replace 🐍 3.6 β€’ ubuntu-latest β€’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1" with 3.9 * Revert "Replace 🐍 3.6 β€’ ubuntu-latest β€’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1" with 3.9" This reverts commit 3ec984e. * Systematically change all active ubuntu-latest to ubuntu-20.04, except in upstream.yml * Revert "Systematically change all active ubuntu-latest to ubuntu-20.04, except in upstream.yml" This reverts commit cdfd995. * Change only some ubuntu-latest to ubuntu-20.04
1 parent e133c33 commit 5b55f8f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

β€Ž.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
runs-on: [ubuntu-latest, windows-2022, macos-latest]
28+
runs-on: [ubuntu-20.04, windows-2022, macos-latest]
2929
python:
3030
- '3.6'
3131
- '3.9'
@@ -42,12 +42,12 @@ jobs:
4242
# We support an optional key: args, for cmake args
4343
include:
4444
# Just add a key
45-
- runs-on: ubuntu-latest
45+
- runs-on: ubuntu-20.04
4646
python: '3.6'
4747
args: >
4848
-DPYBIND11_FINDPYTHON=ON
4949
-DCMAKE_CXX_FLAGS="-D_=1"
50-
- runs-on: ubuntu-latest
50+
- runs-on: ubuntu-20.04
5151
python: 'pypy-3.8'
5252
args: >
5353
-DPYBIND11_FINDPYTHON=ON
@@ -194,7 +194,7 @@ jobs:
194194
python-debug: false
195195

196196
name: "🐍 ${{ matrix.python-version }}${{ matrix.python-debug && '-dbg' || '' }} (deadsnakes)${{ matrix.valgrind && ' β€’ Valgrind' || '' }} β€’ x64"
197-
runs-on: ubuntu-latest
197+
runs-on: ubuntu-20.04
198198

199199
steps:
200200
- uses: actions/checkout@v3

β€Ž.github/workflows/configure.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
runs-on: [ubuntu-latest, macos-latest, windows-latest]
19+
runs-on: [ubuntu-20.04, macos-latest, windows-latest]
2020
arch: [x64]
2121
cmake: ["3.23"]
2222

2323
include:
24-
- runs-on: ubuntu-latest
24+
- runs-on: ubuntu-20.04
2525
arch: x64
2626
cmake: 3.4
2727

0 commit comments

Comments
Β (0)