Skip to content

Commit 6fc1396

Browse files
committed
Switch to Ubuntu 20 with gcc 7 and clang 6
1 parent 0258640 commit 6fc1396

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/c.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,29 @@ jobs:
1818
build_type: ["Debug", "Release"]
1919
compiler:
2020
[
21-
{ c: "gcc-14", cxx: "g++-14", package: "gcc-14 g++-14" },
22-
{ c: "clang-18", cxx: "clang++-18", package: "clang-18" },
21+
{ c: "gcc-7", cxx: "g++-7", package: "gcc-7 g++-7" },
22+
{ c: "clang-6", cxx: "clang++-6", package: "clang-6" },
2323
]
2424
build_shared_libraries: [true, false]
2525

26-
name: "Ubuntu 24.04 (Build: ${{ matrix.build_type }}, Compilers: ${{ matrix.compiler.c }}/${{ matrix.compiler.cxx }}, Shared Library: ${{ matrix.build_shared_libraries }})"
26+
name: "Ubuntu 20.04 (Build: ${{ matrix.build_type }}, Compilers: ${{ matrix.compiler.c }}/${{ matrix.compiler.cxx }}, Shared Library: ${{ matrix.build_shared_libraries }})"
2727

28-
runs-on: ubuntu-24.04
28+
# We run on a docker image to avoid being affected from GitHub
29+
# decommissioning certain runners
30+
runs-on: ubuntu-latest
31+
container: ubuntu:20.04
2932

3033
steps:
3134
- name: Setup
3235
run: |
33-
sudo bash -c '
3436
apt-get -qq update
3537
apt-get -qq install software-properties-common gpg wget
3638
add-apt-repository -y ppa:git-core/ppa
3739
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
38-
echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic-rc main" \
40+
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic-rc main' \
3941
| tee -a /etc/apt/sources.list.d/kitware.list >/dev/null
4042
apt-get -qq update
4143
apt-get -qq install libeigen3-dev libserialport-dev git cmake build-essential ${{ matrix.compiler.package }}
42-
'
4344
4445
- name: Checkout
4546
run: |

0 commit comments

Comments
 (0)