mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 18:51:37 +08:00
Update macOS workflow to include git submodule setup
Added initialization and update of git submodules.
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config: [
|
config: [
|
||||||
px4_sitl gz_x500
|
"px4_sitl gz_x500"
|
||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: install Python 3.10
|
- name: install Python 3.10
|
||||||
@@ -31,7 +31,12 @@ jobs:
|
|||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Initialize and update git submodules
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git submodule update --init --recursive --jobs 4
|
||||||
|
|
||||||
- name: setup
|
- name: setup
|
||||||
run: |
|
run: |
|
||||||
./Tools/setup/macos.sh --sim-tools
|
./Tools/setup/macos.sh --sim-tools
|
||||||
|
|||||||
Reference in New Issue
Block a user