Skip to content

Commit 40c8a33

Browse files
committed
CI: Test with GCC 11
1 parent b45cf0f commit 40c8a33

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/ci-ros2.yaml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
2727
name: "${{ matrix.env.ROS_DISTRO }}-${{ matrix.os }}"
2828
env:
29-
CCACHE_DIR: ${{ github.workspace }}/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
30-
UPSTREAM_WORKSPACE: .github/ci.ros2.rosinstall
31-
VERBOSE_OUTPUT: true
32-
runs-on: ${{ matrix.os }}
33-
steps:
29+
CCACHE_DIR: &ccache ${{ github.workspace }}/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
30+
UPSTREAM_WORKSPACE: &upstream .github/ci.ros2.rosinstall
31+
VERBOSE_OUTPUT: &verbose true
32+
runs-on: &runs-on ${{ matrix.os }}
33+
steps: &steps
3434
- uses: actions/checkout@v4
3535
# This step will fetch/store the directory used by ccache before/after the ci run
3636
- name: Cache ccache
@@ -47,3 +47,21 @@ jobs:
4747
# Run industrial_ci
4848
- uses: 'ros-industrial/industrial_ci@master'
4949
env: ${{ matrix.env }}
50+
# We also do a best effort test with GCC 11 (which is on RHEL 9 on ROS buildfarm)
51+
industrial_ci_gcc_11:
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
env:
56+
- { ROS_DISTRO: kilted, ROS_REPO: testing, DOCKER_IMAGE: "ghcr.io/sloretz/ros:kilted-perception", ALLOW_FAIL: yes }
57+
os: [ "ubuntu-24.04", "ubuntu-24.04-arm" ]
58+
name: "${{ matrix.env.ROS_DISTRO }}-${{ matrix.os }}-gcc11"
59+
env:
60+
CCACHE_DIR: *ccache
61+
UPSTREAM_WORKSPACE: *upstream
62+
VERBOSE_OUTPUT: *verbose
63+
ADDITIONAL_DEBS: "g++-11"
64+
CC: "gcc-11"
65+
CXX: "g++-11"
66+
runs-on: *runs-on
67+
steps: *steps

0 commit comments

Comments
 (0)