Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test blooming on the CI #329

Merged
merged 3 commits into from
May 13, 2024
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
53 changes: 53 additions & 0 deletions .github/workflows/bloom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: bloom

on: [push, pull_request]

jobs:
build_linux:
name: "Ubuntu (${{ matrix.ros_distribution }})"

runs-on: ubuntu-latest

strategy:
matrix:
include:
- docker_image: ubuntu:20.04
ros_distribution: noetic

- docker_image: ubuntu:22.04
ros_distribution: humble

- docker_image: ubuntu:24.04
ros_distribution: jazzy

container:
image: ${{ matrix.docker_image }}

env:
DEBIAN_FRONTEND: noninteractive

steps:
- name: install core dependencies
run: |
apt update
apt install -y --no-install-recommends git ca-certificates

- uses: actions/checkout@v4

- uses: ros-tooling/setup-ros@v0.7

- name: install build tool dependencies
run: |
apt install -y --no-install-recommends devscripts equivs python3-bloom

- name: bloom
run: |
rosdep update
bloom-generate rosdebian --ros-distro ${{ matrix.ros_distribution }}
mk-build-deps
apt install -y --no-install-recommends ./ros-${{ matrix.ros_distribution }}-apriltag-build-deps_*_all.deb
dpkg-buildpackage -b

- name: install bloomed packages
run: |
apt install -y --no-install-recommends ../ros-${{ matrix.ros_distribution }}-apriltag_*.deb ../ros-${{ matrix.ros_distribution }}-apriltag-dbgsym_*.ddeb
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(apriltag VERSION 3.4.1 LANGUAGES C)
project(apriltag VERSION 3.4.2 LANGUAGES C)

if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
Expand Down
2 changes: 1 addition & 1 deletion common/matd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ static matd_svd_t matd_svd_tall(matd_t *A, int flags)
assert(maxiters > 0); // reassure clang
int iter;

double maxv; // maximum non-zero value being reduced this iteration
double maxv = 0; // maximum non-zero value being reduced this iteration

double tol = 1E-10;

Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>apriltag</name>
<version>3.4.1</version>
<version>3.4.2</version>
<description>AprilTag detector library</description>

<maintainer email="mkrogius@umich.edu">Max Krogius</maintainer>
Expand Down
Loading