Skip to content

Commit

Permalink
ubuntu-latest now points to 24.01
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini committed Dec 14, 2024
1 parent c75728b commit d9ff484
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
build_type: [Release]
os: [ubuntu-24.04, windows-latest]
os: [ubuntu-latest, windows-latest]
build_shared_libs: [ON, OFF]

steps:
Expand All @@ -34,7 +34,7 @@ jobs:
# Remove apt repos that are known to break from time to time
# See https://github.com/actions/virtual-environments/issues/323
- name: Remove broken apt repos [Ubuntu]
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
Expand All @@ -56,7 +56,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Dependencies [Ubuntu]
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
sudo apt update
Expand All @@ -65,7 +65,7 @@ jobs:
# regression documented in https://github.com/robotology/robotology-superbuild/blob/master/cmake/RobotologySuperbuildLogic.cmake#L39-L64
- name: Install Custom SWIG 4.2.1 [Ubuntu]
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
sudo apt remove swig
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
cmake --build . --config ${{ matrix.build_type }} --target INSTALL
- name: Source-based Dependencies [Ubuntu]
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
# YCM
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install ..
- name: Configure [Ubuntu]
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
mkdir -p build
Expand All @@ -181,7 +181,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install ..
- name: Enable python bindings on Ubuntu
if: matrix.os == 'ubuntu-24.04'
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
cd build
Expand Down

0 comments on commit d9ff484

Please sign in to comment.