Skip to content

Commit

Permalink
Switch CI from using debian sid to debian testing (#905)
Browse files Browse the repository at this point in the history
* Switch CI from using debian sid to debian testing
  • Loading branch information
traversaro authored Oct 21, 2021
1 parent ab0eed5 commit b1fa7c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ci/install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo "lsb_dist: ${lsb_dist}"
echo "dist_version: ${dist_version}"
# bullseye is not supported by OpenRobotics' repo, but it has already
# the right version of Gazebo in its repo, so we just skip everything
if [[ ("sid" != "$dist_version" && "bullseye" != "$dist_version") ]]; then
if [[ ("sid" != "$dist_version" && "bullseye" != "$dist_version" && "bookworm" != "$dist_version" && "trixie" != "$dist_version") ]]; then
mkdir -p /etc/apt/sources.list.d
echo deb http://packages.osrfoundation.org/gazebo/$lsb_dist\-stable $dist_version main > /etc/apt/sources.list.d/gazebo-stable.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
- "ubuntu:bionic"
- "ubuntu:focal"
- "debian:buster-backports"
- "debian:sid"
- "debian:testing"

project_tags:
- Default
Expand All @@ -176,10 +176,10 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Upgrade apt packages Debian Sid [Debian Sid]
if: matrix.docker_image == 'debian:sid'
- name: Upgrade apt packages Debian Testing [Debian Testing]
if: matrix.docker_image == 'debian:testing'
run: |
# The Debian sid docker image is generated only
# The Debian testing docker image is generated only
# once a month, so to actually test with the latest
# packages we need to manually upgrade the packages
apt-get -y upgrade
Expand Down Expand Up @@ -215,8 +215,8 @@ jobs:
# Gazebo is disabled due to the errors reported in https://github.com/robotology/robotology-superbuild/pull/593
cmake -DROBOTOLOGY_USES_OCTAVE:BOOL=OFF -DROBOTOLOGY_USES_PYTHON:BOOL=OFF -DROBOTOLOGY_USES_GAZEBO:BOOL=OFF .
- name: Disable profiles that are not supported in docker for now [Docker debian-sid and debian-buster]
if: (matrix.docker_image == 'debian:sid' || matrix.docker_image == 'debian:buster-backports' || matrix.docker_image == 'ubuntu:bionic')
- name: Disable profiles that are not supported in docker for now [Docker debian-testing and debian-buster]
if: (matrix.docker_image == 'debian:testing' || matrix.docker_image == 'debian:buster-backports' || matrix.docker_image == 'ubuntu:bionic')
run: |
cd build
cmake -DROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS:BOOL=OFF -DROBOTOLOGY_ENABLE_ROBOT_TESTING:BOOL=OFF -DROBOTOLOGY_USES_PYTHON:BOOL=OFF .
Expand Down

0 comments on commit b1fa7c7

Please sign in to comment.