Skip to content

Commit ddab038

Browse files
committed
use bookworm for tests
1 parent 70bcac1 commit ddab038

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

.github/workflows/test.yml

Lines changed: 36 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,37 @@ 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+
2759
- name: cmake
2860
run: |
2961
mkdir build
@@ -35,13 +67,16 @@ jobs:
3567
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
3668
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
3769
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
70+
3871
- name: build
3972
run: |
4073
cmake --build build --target install
4174
cmake --install build
75+
4276
- name: test
4377
working-directory: build
4478
run: ../etc/docker/tests/run_test.sh
79+
4580
test_windows:
4681
if: github.repository_owner == 'viamrobotics'
4782
runs-on: windows-latest

0 commit comments

Comments
 (0)