Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
83c0888d
Commit
83c0888d
authored
6 years ago
by
Matthias Grob
Committed by
Lorenz Meier
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Appveyor: finally found all install, build and path bugs, commented
parent
a31e851f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
appveyor.yml
+19
-2
19 additions, 2 deletions
appveyor.yml
with
19 additions
and
2 deletions
appveyor.yml
+
19
−
2
View file @
83c0888d
...
...
@@ -16,8 +16,25 @@ install:
-
ps
:
if (-not (Test-Path C:\Toolchain.msi)) {Invoke-WebRequest https://s3-us-west-2.amazonaws.com/px4-tools/PX4+Windows+Cygwin+Toolchain/PX4+Windows+Cygwin+Toolchain+0.3.msi -OutFile C:\Toolchain.msi}
-
start /wait msiexec /i C:\Toolchain.msi /quiet /qn /norestart /log C:\install.log
# Note: using start /wait is important
# because otherwise the install begins but non-blocking and the result cannot be used just after
build_script
:
-
call C:\PX4\toolchain\clone-px4-build-sitl.bat
# setup the environmental variables to work within the installed cygwin toolchain
-
call C:\PX4\toolchain\setup-environment-variables.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 update --init --recursive --jobs=10"
# make SITL
-
call bash --login -c "cd $repopath && make posix"
# make pixracer to check NuttX build
-
call bash --login -c "cd $repopath && make px4fmu-v4_default"
# Note: using bash --login is important
# because otherwise certain things (like python; import numpy) do not work
cache
:
-
C:\Toolchain.msi
# cache toolchain installation file to avoid downloading it from AWS S3 each time
# it's ~496MB < 1GB free limit for build caches
-
C:\Toolchain.msi -> appveyor.yml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment