-
Notifications
You must be signed in to change notification settings - Fork 7
/
azure-pipelines.yml
55 lines (55 loc) · 1.23 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
jobs:
- job: build_all_window
displayName: Build all tasks (window)
pool:
vmImage: 'windows-2019'
steps:
- task: GoTool@0
inputs:
version: '1.13.5'
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: '6.0.x'
- powershell: ./scripts/aelf-node/start-window.ps1
displayName: 'Test'
# - task: Go@0
# inputs:
# command: 'test'
# workingDirectory: 'D:\a\1\s\test'
- job: build_all_linux
displayName: Build all tasks (Linux)
pool:
vmImage: 'ubuntu-latest'
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- task: GoTool@0
inputs:
version: '1.13.5'
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: '6.0.x'
- script: cd scripts/aelf-node && bash start.sh
- script: bash build.sh
displayName: 'Test'
# All tasks on macOS
- job: build_all_macos
displayName: Build all tasks (macos)
pool:
vmImage: macos-latest
steps:
- task: GoTool@0
inputs:
version: '1.13.5'
- task: UseDotNet@2
inputs:
version: '6.0.x'
- script: cd scripts/aelf-node && bash start-mac.sh
displayName: 'Deploy a full node'
- script: bash build.sh
displayName: 'Test'