forked from microsoft/GraphEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-linux.yml
42 lines (37 loc) · 1.04 KB
/
azure-pipelines-linux.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
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
branches:
include:
- master
paths:
exclude:
- .gitignore
- .editorconfig
- README.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- SECURITY.md
- LICENSE.txt
- azure-pipelines-linux.yml
- azure-pipelines-windows.yml
- doc
- samples
pool:
vmImage: ubuntu-20.04
steps:
- script: sudo apt install g++ cmake libssl-dev
displayName: 'Install g++ cmake libssl-dev'
- script: |
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y dotnet-sdk-6.0
displayName: 'Install .NET SDK x64 6.0'
- bash: tools/build.sh
displayName: 'Build Graph Engine'