mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Github actions: SITL tests upgrade MAVSDK v0.30.1 -> v0.33.1
This commit is contained in:
4
.github/workflows/sitl_tests.yml
vendored
4
.github/workflows/sitl_tests.yml
vendored
@@ -28,9 +28,9 @@ jobs:
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
- name: Download MAVSDK
|
||||
run: wget https://github.com/mavlink/MAVSDK/releases/download/v0.30.1/mavsdk_0.30.1_ubuntu18.04_amd64.deb
|
||||
run: wget https://github.com/mavlink/MAVSDK/releases/download/v0.33.1/mavsdk_0.33.1_ubuntu20.04_amd64.deb
|
||||
- name: Install MAVSDK
|
||||
run: dpkg -i mavsdk_0.30.1_ubuntu18.04_amd64.deb
|
||||
run: dpkg -i mavsdk_0.33.1_ubuntu20.04_amd64.deb
|
||||
|
||||
- name: Prepare ccache timestamp
|
||||
id: ccache_cache_timestamp
|
||||
|
||||
@@ -34,7 +34,11 @@ if(MAVSDK_FOUND)
|
||||
)
|
||||
|
||||
target_compile_options(mavsdk_tests
|
||||
PRIVATE -Wall -Wextra -Werror
|
||||
PRIVATE
|
||||
-Wall
|
||||
-Wextra
|
||||
-Werror
|
||||
-Wno-error=deprecated-declarations
|
||||
)
|
||||
else()
|
||||
message("MAVSDK C++ not found, skipping mavsdk_tests build..")
|
||||
|
||||
Reference in New Issue
Block a user