Skip to content

Commit bb8b936

Browse files
committed
Base CI on Tesseract image
1 parent eeae931 commit bb8b936

2 files changed

Lines changed: 54 additions & 1 deletion

File tree

.github/workflows/code_quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
env:
3030
TARGET_CMAKE_ARGS: "-DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_CODE_COVERAGE=ON -DTESSERACT_WARNINGS_AS_ERRORS=OFF"
3131
container:
32-
image: ubuntu:22.04
32+
image: ghcr.io/tesseract-robotics/tesseract:${{ matrix.distro }}-master
3333
env:
3434
CCACHE_DIR: "$GITHUB_WORKSPACE/${{ matrix.job_type }}/.ccache"
3535
DEBIAN_FRONTEND: noninteractive

.github/workflows/unstable.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Unstable
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'dev**'
8+
pull_request:
9+
paths:
10+
- 'tesseract**'
11+
- '.github/workflows/ubuntu.yml'
12+
- '**.repos'
13+
schedule:
14+
- cron: '0 5 * * *'
15+
release:
16+
types:
17+
- released
18+
19+
jobs:
20+
ci:
21+
name: ${{ matrix.distro }}
22+
runs-on: ubuntu-latest
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
distro: [jammy, noble]
27+
container:
28+
image: ghcr.io/tesseract-robotics/tesseract:${{ matrix.distro }}-master
29+
env:
30+
CCACHE_DIR: "$GITHUB_WORKSPACE/${{ matrix.distro }}/.ccache"
31+
DEBIAN_FRONTEND: noninteractive
32+
TZ: Etc/UTC
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v6
36+
with:
37+
path: target_ws/src
38+
39+
- name: Install Depends
40+
shell: bash
41+
run: |
42+
apt update
43+
apt upgrade -y
44+
apt install -y liboctomap-dev
45+
46+
- name: Build and Tests
47+
uses: tesseract-robotics/colcon-action@v14
48+
with:
49+
ccache-prefix: ${{ matrix.distro }}
50+
vcs-file: dependencies.repos
51+
upstream-args: --cmake-args -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_INTERFACE=OFF
52+
target-path: target_ws/src
53+
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON -DTESSERACT_ENABLE_BENCHMARKING=ON -DTESSERACT_ENABLE_RUN_BENCHMARKING=OFF

0 commit comments

Comments
 (0)