Skip to content

Commit

Permalink
try to make gh action use gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
EirikKolas committed Mar 16, 2024
1 parent 18f9935 commit 80351f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Use gcc 13 and g++ 13
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-13 g++-13
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 --slave /usr/bin/g++ g++ /usr/bin/g++-13
sudo update-alternatives --config gcc
- name: Build and test ROS 2 packages
uses: ros-tooling/[email protected]
id: action_ros_ci_step
Expand Down

0 comments on commit 80351f8

Please sign in to comment.