From f19f6530b16620f3d0dd716ab35180be19943b68 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Fri, 11 Mar 2022 11:49:51 -0800 Subject: [PATCH 1/2] Remove Bionic from future releases (Garden+) Signed-off-by: Louise Poubel --- .github/workflows/ci.yml | 13 ++----------- README.md | 2 +- tutorials/install.md | 14 ++++---------- 3 files changed, 7 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e36175c3..da0b5b6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,17 +3,6 @@ name: Ubuntu CI on: [push, pull_request] jobs: - bionic-ci: - runs-on: ubuntu-latest - name: Ubuntu Bionic CI - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Compile and test - id: ci - uses: ignition-tooling/action-ignition-ci@bionic - with: - codecov-enabled: true focal-ci: runs-on: ubuntu-latest name: Ubuntu Focal CI @@ -23,3 +12,5 @@ jobs: - name: Compile and test id: ci uses: ignition-tooling/action-ignition-ci@focal + with: + codecov-enabled: true diff --git a/README.md b/README.md index 1bebb4ab..fc298e0f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Build | Status -- | -- Test coverage | [![codecov](https://codecov.io/gh/ignitionrobotics/ign-sensors/branch/main/graph/badge.svg)](https://codecov.io/gh/ignitionrobotics/ign-sensors) -Ubuntu Bionic | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_sensors-ci-main-bionic-amd64)](https://build.osrfoundation.org/job/ignition_sensors-ci-main-bionic-amd64) +Ubuntu Focal | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_sensors-ci-main-focal-amd64)](https://build.osrfoundation.org/job/ignition_sensors-ci-main-focal-amd64) Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_sensors-ci-main-homebrew-amd64)](https://build.osrfoundation.org/job/ignition_sensors-ci-main-homebrew-amd64) Windows | [![Build Status](https://build.osrfoundation.org/job/ign_sensors-ci-win/badge/icon)](https://build.osrfoundation.org/job/ign_sensors-ci-win/) diff --git a/tutorials/install.md b/tutorials/install.md index 08d5cf6c..ab913d42 100644 --- a/tutorials/install.md +++ b/tutorials/install.md @@ -63,27 +63,21 @@ Ignition Sensors requires: ### Ubuntu -1. Make sure you are running [Ubuntu Bionic](http://releases.ubuntu.com/18.04/) or above. +1. Make sure you are running [Ubuntu Focal](http://releases.ubuntu.com/20.04/) or above. 2. Install the Prerequisites. -3. Configure to use gcc8 if that is not the default compiler -```{.sh} - sudo apt-get install g++-8 - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8 - ``` - -4. Clone the repository +3. Clone the repository ```{.sh} git clone https://github.com/ignitionrobotics/ign-sensors ``` -5. Configure and build +4. Configure and build ``` cd ign-sensors; mkdir build; cd build; cmake ..; make ``` -6. Optionally, install the library +5. Optionally, install the library ``` sudo make install ``` From ce8bbdb28c7479d63dbd4af7f77adaaf07faf3c6 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Fri, 11 Mar 2022 14:31:36 -0800 Subject: [PATCH 2/2] enable static checkers Signed-off-by: Louise Poubel --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da0b5b6f..bf593694 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,3 +14,5 @@ jobs: uses: ignition-tooling/action-ignition-ci@focal with: codecov-enabled: true + cppcheck-enabled: true + cpplint-enabled: true