Skip to content

Commit

Permalink
Switched to ubuntu latest
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrand-new committed Sep 25, 2023
1 parent 5ce50a8 commit dd7a48e
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/conda-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dd7a48e

Please sign in to comment.