Compare commits

..

27 Commits

Author SHA1 Message Date
Oleg Kalachev
b794786a63 Merge branch 'px4-1.13' into test-build-firmware 2022-07-29 03:38:54 +03:00
Oleg Kalachev
60da84c2ca Minor fix 2022-07-29 03:07:42 +03:00
Oleg Kalachev
40656212fd Fix 2 2022-07-27 22:23:20 +03:00
Oleg Kalachev
65ca706bb7 Fix 1 2022-07-27 22:22:55 +03:00
Oleg Kalachev
0064ef40b6 Merge branch 'master' into px4-1.13 2022-07-27 20:17:52 +03:00
Oleg Kalachev
7836e14513 Try 2022-07-27 19:16:25 +03:00
Oleg Kalachev
0da676809d Simpler 2022-07-26 22:07:11 +03:00
Oleg Kalachev
5d92f8e381 Patch to fix building px4 binary 2022-07-26 06:27:13 +03:00
Oleg Kalachev
ef46ca93bb Attempt 2022-07-24 02:11:34 +03:00
Oleg Kalachev
7c8ced9790 Try target_include_directories 2022-07-23 20:48:31 +03:00
Oleg Kalachev
0e70776791 Fix 2022-07-23 20:46:06 +03:00
Oleg Kalachev
c540a1795b Attempt 2022-07-23 20:07:11 +03:00
Oleg Kalachev
a0db84361a Test 2022-07-23 19:25:29 +03:00
Oleg Kalachev
a6f6b29c68 Test 2022-07-23 17:34:21 +03:00
Oleg Kalachev
337a44a797 Another test 2022-07-23 16:39:26 +03:00
Oleg Kalachev
bb66b96268 And yet another 2022-07-23 14:53:16 +03:00
Oleg Kalachev
5c05441360 Another try to fix 2022-07-23 04:55:57 +03:00
Oleg Kalachev
60e0fcc6b4 Update runner to macos-12 as macos-10.15 is deprecated
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
2022-07-22 01:43:58 +03:00
Oleg Kalachev
3467bfcea7 Fix 2022-07-21 01:05:16 +03:00
Oleg Kalachev
781c9d6be4 Try to fix 2022-07-20 23:39:53 +03:00
Oleg Kalachev
365bc50602 Fix 2022-07-20 16:19:30 +03:00
Oleg Kalachev
2996d5fd59 Try to fix 2022-07-20 15:12:36 +03:00
Oleg Kalachev
19baebd635 Fix 2022-07-20 03:55:27 +03:00
Oleg Kalachev
9f02f76044 Try another approach to build the workspace 2022-07-19 23:49:03 +03:00
Oleg Kalachev
f1fe9d8645 Fix 2022-07-19 23:38:19 +03:00
Oleg Kalachev
400be64e54 Install arm-none-eabi-gcc 2022-07-19 20:38:39 +03:00
Oleg Kalachev
69cc8ceed6 Test building the firmware 2022-07-19 16:46:03 +03:00
2 changed files with 14 additions and 6 deletions

View File

@@ -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

View File

@@ -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