From dd7a48e2a1fb90b4f696212dfcde90acd6d4df9a Mon Sep 17 00:00:00 2001 From: fbrand-new Date: Fri, 22 Sep 2023 18:12:02 +0200 Subject: [PATCH] Switched to ubuntu latest --- .github/workflows/conda-ci.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/conda-ci.yml b/.github/workflows/conda-ci.yml index 28a0601..29b429f 100644 --- a/.github/workflows/conda-ci.yml +++ b/.github/workflows/conda-ci.yml @@ -13,7 +13,7 @@ jobs: select_environment: name: 'Prepare Environment' - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: timestamp: ${{ steps.select.outputs.timestamp }} repository_owner: ${{ steps.select.outputs.repository_owner }} @@ -320,12 +320,12 @@ jobs: # environment: code-analysis name: "SonarCloud" needs: [select_environment] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: build_type: [Release] ros_distro: [humble] - os: [ubuntu-20.04] + os: [ubuntu-latest] steps: - uses: conda-incubator/setup-miniconda@v2 with: @@ -417,14 +417,12 @@ jobs: if: runner.os == 'Linux' shell: bash run: | - # Install Robotology dependencies from robotology ppa - sudo apt-add-repository -y ppa:robotology/ppa - sudo apt-get install -qq -y librobottestingframework-dev - - sudo apt-get install -qq -y cmake - which cmake - cmake --version - /usr/bin/cmake --version + sudo apt-get update + sudo apt-get install build-essential + # sudo apt-get install -qq -y cmake + # which cmake + # cmake --version + # /usr/bin/cmake --version # Install ycm wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb @@ -500,8 +498,7 @@ jobs: sudo apt update && sudo apt install curl -y sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null - sudo apt update - sudo apt install -qq -y ros-humble-desktop + sudo apt update && sudo apt install -qq -y ros-humble-desktop sudo apt install -qq -y ros-humble-test-msgs sudo apt install -qq -y ros-dev-tools