mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
azure: add git and build logs
This commit is contained in:
parent
2c814e9de2
commit
82dfa5023c
@ -7,19 +7,28 @@ jobs:
|
||||
steps:
|
||||
- script: choco install cygwin --params "/InstallDir:C:\Cygwin /NoStartMenu /NoAdmin"
|
||||
displayName: 'Install Cygwin'
|
||||
|
||||
- script: choco install cygwin32-gcc-g++ python2 python2-future python2-lxml git gettext --source cygwin
|
||||
displayName: 'Install Cygwin packages'
|
||||
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%') && ./waf --color yes --toolchain i686-pc-cygwin --board sitl configure bin"
|
||||
|
||||
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%') &&
|
||||
mkdir artifacts &&
|
||||
(./waf --color yes --toolchain i686-pc-cygwin --board sitl configure bin 2>&1) | tee artifacts/build.txt"
|
||||
displayName: 'Build SITL'
|
||||
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%') && cp -v $(i686-pc-cygwin-g++ -print-sysroot)/usr/bin/*.dll build/sitl/bin/"
|
||||
|
||||
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%') &&
|
||||
cp -v build/sitl/bin/* artifacts/ &&
|
||||
cp -v $(i686-pc-cygwin-g++ -print-sysroot)/usr/bin/*.dll artifacts/ &&
|
||||
git log -1 > artifacts/git.txt"
|
||||
displayName: 'Copy dependencies to build dir'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
# - task: PublishPipelineArtifact@0
|
||||
displayName: 'Publish build artifacts'
|
||||
inputs:
|
||||
artifactName: 'Cygwin SITL binaries'
|
||||
pathtoPublish: 'build/sitl/bin'
|
||||
# targetPath: 'build/sitl/bin'
|
||||
pathtoPublish: 'artifacts'
|
||||
# targetPath: 'artifacts'
|
||||
|
||||
- template: autotest_template.yml
|
||||
parameters:
|
||||
|
Loading…
Reference in New Issue
Block a user