Skip to content

Commit 34a3020

Browse files
committed
Bump CI runners to ubuntu-24.04
1 parent 8eab74a commit 34a3020

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
os: [ubuntu-20.04, ubuntu-22.04]
36+
os: [ubuntu-22.04, ubuntu-24.04]
3737
robotology:
3838
- { yarp: yarp-3.8, cmake: 3.16.x }
3939
- { yarp: yarp-3.9, cmake: 3.16.x }
@@ -75,6 +75,14 @@ jobs:
7575
repository: rdiankov/openrave
7676
path: .deps/openrave
7777

78+
- name: Check out SWIG
79+
if: ${{matrix.os == 'ubuntu-24.04'}}
80+
uses: actions/checkout@v4
81+
with:
82+
repository: swig/swig
83+
ref: v4.2.1
84+
path: .deps/swig
85+
7886
- name: Check out asrob-uc3m/yarp-devices
7987
uses: actions/checkout@v4
8088
with:
@@ -94,7 +102,7 @@ jobs:
94102
path: .deps/kinematics-dynamics
95103

96104
- name: Install dependencies via apt
97-
run: sudo apt-get update && sudo apt-get install -qq ccache libboost-regex-dev libboost-filesystem-dev libboost-system-dev libboost-thread-dev libboost-iostreams-dev libboost-date-time-dev libxml2-dev libpcl-dev swig
105+
run: sudo apt-get update && sudo apt-get install -qq ccache libboost-regex-dev libboost-filesystem-dev libboost-system-dev libboost-thread-dev libboost-iostreams-dev libboost-date-time-dev libxml2-dev libpcl-dev
98106

99107
- name: Set up CMake
100108
uses: jwlawson/actions-setup-cmake@v2
@@ -135,6 +143,14 @@ jobs:
135143
cmake --build .deps/openrave/build
136144
sudo cmake --install .deps/openrave/build
137145
146+
- name: Build SWIG
147+
if: ${{matrix.os == 'ubuntu-24.04'}}
148+
run: |
149+
cmake -S .deps/swig -B .deps/swig/build $CMAKE_CCACHE_LAUNCHER
150+
cmake --build .deps/swig/build
151+
sudo cmake --install .deps/swig/build
152+
sudo ln -s /usr/local/bin/swig /usr/local/bin/swig4.0 # shadows /usr/bin/swig4.0
153+
138154
- name: Build asrob-uc3m/yarp-devices
139155
run: |
140156
cmake -S .deps/yarp-devices -B .deps/yarp-devices/build $CMAKE_CCACHE_LAUNCHER

0 commit comments

Comments
 (0)