forked from AElfProject/aelf-sdk.cs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
47 lines (47 loc) · 1.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
jobs:
- job: build_all_window
displayName: Build all tasks (window)
pool:
vmImage: 'windows-2019'
variables:
phpVersion: 7.2
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: '6.0.x'
- powershell: ./scripts/aelf-node/start-window.ps1
displayName: 'Build and Test'
# All tasks on Linux
- job: build_all_linux
displayName: Build all tasks (Linux)
services:
redis:
image: redis
ports:
- 6379:6379
pool:
vmImage: ubuntu-latest
steps:
- task: UseDotNet@2
inputs:
version: '6.0.x'
- script: cd scripts/aelf-node && bash start.sh
displayName: 'Deploy a full node'
- script: bash build.sh -target=test
displayName: 'build and test'
# All tasks on macOS
- job: build_all_macos
displayName: Build all tasks (macos)
pool:
vmImage: macos-latest
variables:
phpVersion: 7.2
steps:
- 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 -target=test
displayName: 'build and test'