Skip to content

Commit 04dd007

Browse files
authored
RSDK-12638: Remove bullseye from CI testing and release matrix (#499)
1 parent 70bcac1 commit 04dd007

File tree

2 files changed

+47
-20
lines changed

2 files changed

+47
-20
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,6 @@ jobs:
230230
fail-fast: false
231231
matrix:
232232
include:
233-
- target: aarch64-debian-bullseye
234-
platform: linux_aarch64-debian-bullseye
235-
image: debian:bullseye
236-
runs_on: buildjet-8vcpu-ubuntu-2204-arm
237-
- target: x86_64-debian-bullseye
238-
platform: linux_x86_64-debian-bullseye
239-
image: debian:bullseye
240-
runs_on: buildjet-8vcpu-ubuntu-2204
241233
- target: aarch64-debian-bookworm
242234
platform: linux_aarch64-debian-bookworm
243235
image: debian:bookworm
@@ -283,17 +275,6 @@ jobs:
283275
wget \
284276
zlib1g-dev
285277
286-
- name: Update CMake for bullseye
287-
if: ${{ matrix.image == 'debian:bullseye' }}
288-
run: |
289-
sudo apt-get install -y software-properties-common
290-
apt-add-repository -y 'deb https://archive.debian.org/debian bullseye-backports main'
291-
292-
apt-get update
293-
apt-get -y install cmake
294-
295-
apt-get -y --no-install-recommends install -t bullseye-backports cmake
296-
297278
- name: Setup build directory
298279
run: mkdir builds
299280

.github/workflows/test.yml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
test_ubuntu:
1616
if: github.repository_owner == 'viamrobotics'
1717
runs-on: ubuntu-latest
18-
container: ghcr.io/viamrobotics/cpp-base:bullseye-amd64
18+
container:
19+
image: debian:bookworm
1920
strategy:
2021
fail-fast: false
2122
matrix:
@@ -24,6 +25,48 @@ jobs:
2425
- BUILD_SHARED: OFF
2526
steps:
2627
- uses: actions/checkout@v4
28+
29+
- name: Install dependencies
30+
run: |
31+
apt-get update
32+
apt-get -y dist-upgrade
33+
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
34+
build-essential \
35+
ca-certificates \
36+
cmake \
37+
curl \
38+
doxygen \
39+
g++ \
40+
gdb \
41+
git \
42+
gnupg \
43+
gpg \
44+
less \
45+
libboost-all-dev \
46+
libc-ares-dev \
47+
libgrpc++-dev \
48+
libprotobuf-dev \
49+
libre2-dev \
50+
libssl-dev \
51+
ninja-build \
52+
pkg-config \
53+
protobuf-compiler-grpc \
54+
software-properties-common \
55+
sudo \
56+
wget \
57+
zlib1g-dev
58+
59+
bash -c 'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -'
60+
apt-add-repository -y 'deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main'
61+
apt-add-repository -y 'deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main'
62+
apt-get update
63+
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install -t llvm-toolchain-bookworm-15 \
64+
clang-15 \
65+
clang-tidy-15 \
66+
clang-format
67+
68+
69+
2770
- name: cmake
2871
run: |
2972
mkdir build
@@ -35,13 +78,16 @@ jobs:
3578
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
3679
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
3780
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
81+
3882
- name: build
3983
run: |
4084
cmake --build build --target install
4185
cmake --install build
86+
4287
- name: test
4388
working-directory: build
4489
run: ../etc/docker/tests/run_test.sh
90+
4591
test_windows:
4692
if: github.repository_owner == 'viamrobotics'
4793
runs-on: windows-latest

0 commit comments

Comments
 (0)