forked from saiyan86/shifu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
87 lines (84 loc) · 2.11 KB
/
azure-pipelines.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
trigger:
branches:
include:
- main
- releases/*
paths:
exclude:
- docs
- img
- README.md
- README-zh.md
- README-en.md
- LICENSE
- .devcontainer
- .github
pr:
branches:
include:
- main
- releases/*
paths:
exclude:
- docs
- img
- README.md
- README-zh.md
- README-en.md
- LICENSE
- .devcontainer
- .github
pool:
vmImage: 'ubuntu-latest'
steps:
- task: GoTool@0
inputs:
version: '1.17.1'
- task: Go@0
displayName: "go get"
inputs:
command: 'get'
arguments: '-d'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/deviceshifu'
- task: Go@0
displayName: "go build deviceshifu"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/cmd'
- task: Go@0
displayName: "go test deviceshifu"
inputs:
command: 'test'
arguments: '-v'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/deviceshifu'
- task: Go@0
displayName: "go build mockdevice agv"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/mockdevice/mockdevice-agv'
- task: Go@0
displayName: "go build mockdevice plate reader"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/mockdevice/mockdevice-plate-reader'
- task: Go@0
displayName: "go build mockdevice robot arm"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/mockdevice/mockdevice-robot-arm'
- task: Go@0
displayName: "go build mockdevice thermometer"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/mockdevice/mockdevice-thermometer'
- task: Go@0
displayName: "go test mockdevice"
inputs:
command: 'test'
arguments: '-v'
workingDirectory: '$(System.DefaultWorkingDirectory)/deviceshifu/pkg/mockdevice/mockdevice'
- task: Go@0
displayName: "go build http to ssh stub"
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)/driver_util'