forked from ros2-dotnet/ros2_dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci.yml
40 lines (40 loc) · 1.18 KB
/
.vsts-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
steps:
- task: CmdLine@1
inputs:
filename: python
arguments: '-m pip install -U pip setuptools'
displayName: python -m pip install -U pip setuptools
- task: CmdLine@1
inputs:
filename: python
arguments: '-m pip install pyparsing pyyaml'
displayName: python -m pip install pyparsing pyyaml
- task: CmdLine@1
inputs:
filename: python
arguments: '-m pip install EmPy'
displayName: python -m pip install EmPy
- task: CmdLine@1
inputs:
filename: python
arguments: '-m pip install vcstool'
displayName: python -m pip install vcstool
- task: BatchScript@1
inputs:
arguments: '$(Build.SourceBranchName) $(ros2.arch)'
modifyEnvironment: false
displayName: Build ROS2 .Net
- task: CopyFiles@2
inputs:
SourceFolder: 'D:\dev'
Contents: |
ament\install\**
ros2\install\**
TargetFolder: '$(Build.ArtifactStagingDirectory)\ros2-dotnet-uwp-$(ros2.arch)'
displayName: Copy ROS2 .Net artifacts
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)\ros2-dotnet-uwp-$(ros2.arch)'
ArtifactName: 'ros2-dotnet-uwp-$(ros2.arch)'
publishLocation: Container
displayName: Publish ROS2 .Net artifacts