mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
build(windows): harden native SITL toolchains
Add compiler-specific CMake helpers and use them across Windows-sensitive targets so MSVC and MinGW can share the native SITL build without leaking unsupported flags between compilers. Signed-off-by: Nuno Marques <n.marques21@hotmail.com>
This commit is contained in:
@@ -90,7 +90,11 @@ jobs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install jinja2 pyyaml toml numpy packaging jsonschema future empy pyros-genmsg
|
||||
# empy pinned <4: PX4's msg/uxrce_dds/flight_tasks/zenoh generators
|
||||
# use the empy 3.x Interpreter(...options={em.RAW_OPT: True,
|
||||
# em.BUFFERED_OPT: True}) API removed in empy 4.x. Matches the pin
|
||||
# in Tools/setup/requirements.txt and Tools/setup/windows.ps1.
|
||||
python -m pip install jinja2 pyyaml toml numpy packaging jsonschema future "empy>=3.3,<4" pyros-genmsg kconfiglib
|
||||
|
||||
- name: Install Ninja (MSVC)
|
||||
if: matrix.toolchain == 'MSVC'
|
||||
|
||||
Reference in New Issue
Block a user