Skip to content

Commit

Permalink
Bump CI runners to ubuntu-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored Oct 3, 2024
1 parent 867718d commit 3f752d5
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-22.04, ubuntu-24.04]
robotology:
- { yarp: yarp-3.8, cmake: 3.16.x }
- { yarp: yarp-3.9, cmake: 3.16.x }
Expand Down Expand Up @@ -63,8 +63,16 @@ jobs:
ref: ${{matrix.robotology.yarp}}
path: .deps/yarp

- name: Check out SWIG
if: ${{matrix.os == 'ubuntu-24.04'}}
uses: actions/checkout@v4
with:
repository: swig/swig
ref: v4.2.1
path: .deps/swig

- name: Install dependencies via apt
run: sudo apt-get update && sudo apt-get install -qq ccache libespeak-dev mbrola-en1 googletest pulseaudio

This comment has been minimized.

Copy link
@PeterBowman

PeterBowman Oct 17, 2024

Author Member

Actually, the update subcommand needs to stay to avoid issues.

Run sudo apt-get install -qq ccache libespeak-dev mbrola-en1 googletest pulseaudio
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/m/mesa/mesa-va-drivers_24.0.9-0ubuntu0.1_amd64.deb  404  Not Found [IP: 40.81.13.82 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-vdpau-drivers_24.0.9-0ubuntu0.1_amd64.deb  404  Not Found [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Restored at 0b9cc2f.

run: sudo apt-get install -qq ccache libespeak-dev mbrola-en1 googletest pulseaudio

- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2
Expand Down Expand Up @@ -93,6 +101,14 @@ jobs:
cmake --build .deps/yarp/build
sudo cmake --install .deps/yarp/build
- name: Build SWIG
if: ${{matrix.os == 'ubuntu-24.04'}}
run: |
cmake -S .deps/swig -B .deps/swig/build $CMAKE_CCACHE_LAUNCHER
cmake --build .deps/swig/build
sudo cmake --install .deps/swig/build
sudo ln -s /usr/local/bin/swig /usr/local/bin/swig4.0 # shadows /usr/bin/swig4.0
- name: Configure speech
run: cmake -S . -B build $CMAKE_CCACHE_LAUNCHER -DCREATE_BINDINGS_PYTHON=ON -DENABLE_examples=ON

Expand Down

0 comments on commit 3f752d5

Please sign in to comment.