Skip to content

Commit

Permalink
edited build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Arief-AK committed May 18, 2024
1 parent 86b5d4f commit 182a098
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,26 @@ jobs:
export
ulimit -a
- name: Create dependency workspace
run: |
mkdir -p ~/dependencies
cd ~/dependencies
- name: Install PX4 Dependencies
run: |
cd ~/dependencies
wget https://raw.githubusercontent.com/PX4/PX4-Autopilot/main/Tools/setup/ubuntu.sh
wget https://raw.githubusercontent.com/PX4/PX4-Autopilot/main/Tools/setup/requirements.txt
ls -l
. ubuntu.sh
chmod +x ubuntu.sh && . ubuntu.sh
- name: Install MAVROS using binaries
run: |
cd ~/dependencies
sudo apt-get install ros-$ROS_DISTRO-mavros ros-$ROS_DISTRO-mavros-extras
wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
ls -l
. install_geographiclib_datasets.sh
chmod +x install_geographiclib_datasets.sh && . install_geographiclib_datasets.sh
- name: Install ROS building dependencies
run: |
Expand Down

0 comments on commit 182a098

Please sign in to comment.