Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6affbb

Browse files
authored
[CI] Pin Ubuntu in third party stubtest (#12846)
This fixes a problem with gdb changing between the Ubuntu versions.
1 parent 3b0ce50 commit c6affbb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/daily.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ jobs:
6060
runs-on: ${{ matrix.os }}
6161
strategy:
6262
matrix:
63-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
63+
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
64+
# which causes problems when testing gdb.
65+
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
6466
shard-index: [0, 1, 2, 3]
6567
fail-fast: false
6668
steps:

.github/workflows/stubtest_third_party.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
matrix:
35-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
35+
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
36+
# which causes problems when testing gdb.
37+
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
3638
fail-fast: false
3739

3840
steps:

0 commit comments

Comments
 (0)