-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix github workflows This commit fixes the github actions workflows due to recent changes in the firmware - change default branch name from master to main - do not validate the omnicopter sdf file * Fix mavsdk address
- Loading branch information
1 parent
afb2f97
commit 6c0376a
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Firmware Build and SITL Tests | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
@@ -21,17 +21,17 @@ jobs: | |
image: px4io/px4-dev-simulation-focal:2021-05-31 | ||
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined | ||
steps: | ||
- name: Checkout Firmware master | ||
- name: Checkout Firmware main | ||
uses: actions/[email protected] | ||
with: | ||
repository: PX4/Firmware | ||
ref: master | ||
ref: main | ||
path: Firmware | ||
fetch-depth: 0 | ||
submodules: recurvise | ||
- name: Checkout matching branch on PX4/Firmware if possible | ||
run: | | ||
git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using master instead" | ||
git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using main instead" | ||
git submodule update --init --recursive | ||
working-directory: Firmware | ||
- name: Configure Firmware to include current sitl_gazebo version | ||
|
@@ -41,10 +41,10 @@ jobs: | |
git checkout ${{github.head_ref}} | ||
- name: Download MAVSDK | ||
working-directory: Firmware | ||
run: wget "https://github.com/mavlink/MAVSDK/releases/download/v$(cat test/mavsdk_tests/MAVSDK_VERSION)/mavsdk_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb" | ||
run: wget "https://github.com/mavlink/MAVSDK/releases/download/v$(cat test/mavsdk_tests/MAVSDK_VERSION)/libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb" | ||
- name: Install MAVSDK | ||
working-directory: Firmware | ||
run: dpkg -i "mavsdk_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb" | ||
run: dpkg -i "libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb" | ||
- name: Prepare ccache timestamp | ||
id: ccache_cache_timestamp | ||
shell: cmake -P {0} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters