diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c160d9..d106cb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,24 +1,24 @@ name: Build and Test on: push: - branches: [ humble ] + branches: [ jazzy ] pull_request: - branches: [ humble ] + branches: [ jazzy ] jobs: build-and-test: runs-on: ubuntu-latest container: - image: ubuntu:jammy + image: ubuntu:noble steps: - name: Check out - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup ROS 2 - uses: ros-tooling/setup-ros@v0.3 + uses: ros-tooling/setup-ros@v0.7 with: - required-ros-distributions: humble + required-ros-distributions: jazzy - name: Build rmoss_interfaces - uses: ros-tooling/action-ros-ci@v0.2 + uses: ros-tooling/action-ros-ci@v0.4 with: - target-ros2-distro: humble + target-ros2-distro: jazzy \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 96ab2ef..b7cb917 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5) project(rmoss_interfaces) -# Default to C++14 +# Default to C++17 if(NOT CMAKE_CXX_STANDARD) - set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD 17) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic)