mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-06-01 17:49:32 +00:00
Compare commits
27 Commits
v1.3-alpha
...
test-build
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b794786a63 | ||
|
|
60da84c2ca | ||
|
|
40656212fd | ||
|
|
65ca706bb7 | ||
|
|
0064ef40b6 | ||
|
|
7836e14513 | ||
|
|
0da676809d | ||
|
|
5d92f8e381 | ||
|
|
ef46ca93bb | ||
|
|
7c8ced9790 | ||
|
|
0e70776791 | ||
|
|
c540a1795b | ||
|
|
a0db84361a | ||
|
|
a6f6b29c68 | ||
|
|
337a44a797 | ||
|
|
bb66b96268 | ||
|
|
5c05441360 | ||
|
|
60e0fcc6b4 | ||
|
|
3467bfcea7 | ||
|
|
781c9d6be4 | ||
|
|
365bc50602 | ||
|
|
2996d5fd59 | ||
|
|
19baebd635 | ||
|
|
9f02f76044 | ||
|
|
f1fe9d8645 | ||
|
|
400be64e54 | ||
|
|
69cc8ceed6 |
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-10.15 # Using macOS as https://github.com/actions/virtual-environments/issues/183
|
||||
runs-on: macos-12 # Using macOS as https://github.com/actions/virtual-environments/issues/183
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Download base image
|
||||
|
||||
@@ -81,14 +81,17 @@ ln -s ~/catkin_ws/src/clover/clover_simulation/airframes/* ~/PX4-Autopilot/ROMFS
|
||||
echo "--- Installing geographiclib datasets"
|
||||
sudo -E sh -c '/opt/ros/noetic/lib/mavros/install_geographiclib_datasets.sh'
|
||||
|
||||
echo "--- Build mavlink and fix issues"
|
||||
echo "--- Build PX4"
|
||||
cd ~/PX4-Autopilot
|
||||
make px4_sitl
|
||||
|
||||
echo "--- Build mavlink"
|
||||
cd ~/catkin_ws
|
||||
catkin_make mavlink_c_generate
|
||||
ln -s "." build/mavlink/mavlink
|
||||
rm build/CMakeCache.txt
|
||||
catkin_make mavlink_c_generate -DCATKIN_WHITELIST_PACKAGES="px4" # at first build px4's mavlink to force mavlink_sitl_gazebo to use it
|
||||
ln -s "." build/mavlink/mavlink # fix https://github.com/PX4/PX4-Autopilot/pull/19964
|
||||
|
||||
echo "--- Building the workspace"
|
||||
catkin_make --force-cmake
|
||||
catkin_make -DCATKIN_WHITELIST_PACKAGES=""
|
||||
|
||||
echo "--- Installing Visual Studio Code"
|
||||
sudo -E sh -c 'apt-get update; apt-get install -y curl'
|
||||
@@ -209,6 +212,11 @@ set +x
|
||||
rospack list-names | while read line; do echo $line `rosversion $line`; done
|
||||
set -x
|
||||
|
||||
echo "--- Test building the firmware"
|
||||
sudo -E sh -c 'apt-get install -y gcc-arm-none-eabi'
|
||||
cd ~/PX4-Autopilot
|
||||
make px4_fmu-v4_default
|
||||
|
||||
echo "Trying running the Gazebo simulator, check the output"
|
||||
timeout --preserve-status 30 roslaunch clover_simulation simulator.launch gui:=false --screen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user