Skip to content

Commit

Permalink
add setup gcc step for ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
PonomarevDA committed Dec 7, 2024
1 parent 500172b commit 800c353
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/dronecan_sitl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
pip install -r requirements.txt
sudo apt-get install -y gcc-arm-none-eabi linux-modules-extra-$(uname -r)
- name: Setup GCC for Ubuntu 20.04
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt update
sudo apt install -y gcc-10 g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
- name: Build SITL DroneCAN
run: make sitl_dronecan

Expand Down

0 comments on commit 800c353

Please # to comment.