Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ jobs:
fail-fast: false
matrix:
include:
- target: aarch64-debian-bullseye
platform: linux_aarch64-debian-bullseye
image: debian:bullseye
runs_on: buildjet-8vcpu-ubuntu-2204-arm
- target: x86_64-debian-bullseye
platform: linux_x86_64-debian-bullseye
image: debian:bullseye
runs_on: buildjet-8vcpu-ubuntu-2204
- target: aarch64-debian-bookworm
platform: linux_aarch64-debian-bookworm
image: debian:bookworm
Expand Down Expand Up @@ -283,17 +275,6 @@ jobs:
wget \
zlib1g-dev

- name: Update CMake for bullseye
if: ${{ matrix.image == 'debian:bullseye' }}
run: |
sudo apt-get install -y software-properties-common
apt-add-repository -y 'deb https://archive.debian.org/debian bullseye-backports main'

apt-get update
apt-get -y install cmake

apt-get -y --no-install-recommends install -t bullseye-backports cmake

- name: Setup build directory
run: mkdir builds

Expand Down
48 changes: 47 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
test_ubuntu:
if: github.repository_owner == 'viamrobotics'
runs-on: ubuntu-latest
container: ghcr.io/viamrobotics/cpp-base:bullseye-amd64
container:
image: debian:bookworm
strategy:
fail-fast: false
matrix:
Expand All @@ -24,6 +25,48 @@ jobs:
- BUILD_SHARED: OFF
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
apt-get update
apt-get -y dist-upgrade
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
build-essential \
ca-certificates \
cmake \
curl \
doxygen \
g++ \
gdb \
git \
gnupg \
gpg \
less \
libboost-all-dev \
libc-ares-dev \
libgrpc++-dev \
libprotobuf-dev \
libre2-dev \
libssl-dev \
ninja-build \
pkg-config \
protobuf-compiler-grpc \
software-properties-common \
sudo \
wget \
zlib1g-dev

bash -c 'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -'
apt-add-repository -y 'deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main'
apt-add-repository -y 'deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main'
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install -t llvm-toolchain-bookworm-15 \
clang-15 \
clang-tidy-15 \
clang-format



- name: cmake
run: |
mkdir build
Expand All @@ -35,13 +78,16 @@ jobs:
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}

- name: build
run: |
cmake --build build --target install
cmake --install build

- name: test
working-directory: build
run: ../etc/docker/tests/run_test.sh

test_windows:
if: github.repository_owner == 'viamrobotics'
runs-on: windows-latest
Expand Down