Skip to content
Snippets Groups Projects
Commit 88f2a685 authored by Matthias Grob's avatar Matthias Grob Committed by Daniel Agar
Browse files

Appveyor: Enable build matrix for parallel CI targets

parent a3ebe567
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,11 @@ platform:
init:
- ver
environment:
matrix:
- PX4_CONFIG: tests # this builds posix in px4_sitl_test folder and runs tests
- PX4_CONFIG: px4_fmu-v5_default
install:
# if the toolchain wasn't restored from build cache download and install it
- ps: >-
......@@ -38,14 +43,10 @@ build_script:
- call C:\PX4\toolchain\scripts\setup-environment.bat x
# safe the repopath for switching to it in cygwin bash
- for /f %%i in ('cygpath -u %%CD%%') do set repopath=%%i
# fetch all submodules in parallel
- call bash --login -c "cd $repopath && git submodule -q update --init --recursive --jobs=10"
# make SITL
- call bash --login -c "cd $repopath && make px4_sitl_test"
# make pixracer to check NuttX build
- call bash --login -c "cd $repopath && make px4_fmu-v4_default"
# run tests
- call bash --login -c "cd $repopath && make tests"
# fetch all submodules in parallel with limited depth
#- call bash --login -c "cd $repopath && git submodule -q update --init --recursive --jobs=10 --depth 200"
# build the make target
- call bash --login -c "cd $repopath && make $PX4_CONFIG"
# Note: using bash --login is important
# because otherwise certain things (like python; import numpy) do not work
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment