-
Notifications
You must be signed in to change notification settings - Fork 46
/
azure-pipelines.yml
56 lines (44 loc) · 1.58 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
# Lumia950XLPkg CI build on VSTS
trigger:
branches:
include:
- master
- psci-scm
paths:
exclude:
- README.md
- LICENSE
pool:
vmImage: 'Ubuntu-latest'
steps:
- script: sudo apt update
displayName: 'Update APT sources'
# Travis have this by default, because we preinstalled build-essentials
- script: sudo apt install uuid-dev flex bison
displayName: 'Install VSTS dependencies'
# Fix-up directory link for VSTS, force replace current reference
- script: sudo ln -sfn $(pwd) ../Lumia950XLPkg
displayName: 'Fix directory links'
# Build iASL tool from repository
# Eventually we will just install prepackaged version
# - script: git clone https://github.com/acpica/acpica acpica-tools
# displayName: 'Checkout ACPICA tools repository'
# - script: cd acpica-tools && make clean && make && sudo make install && cd ..
# displayName: 'Build and install ACPICA tools'
- script: sudo ./Tools/CI/Bootstrapper/Stage0.sh
displayName: 'Prepare pre-build environment, phase 0'
- script: ./Tools/CI/Bootstrapper/Stage1.sh
displayName: 'Prepare pre-build environment, phase 1'
- script: ./Tools/CI/Builder/Build.sh
displayName: 'UEFI build'
# Publish UEFI (3 targets)
- task: PublishBuildArtifacts@1
displayName: 'Publish UEFI build (Lumia 950)'
inputs:
pathtoPublish: ../edk2/Build/Lumia950-AARCH64/DEBUG_GCC5/FV/
artifactName: MSM8992 UEFI (Lumia 950)
- task: PublishBuildArtifacts@1
displayName: 'Publish UEFI build (Lumia 950 XL)'
inputs:
pathtoPublish: ../edk2/Build/Lumia950XL-AARCH64/DEBUG_GCC5/FV/
artifactName: MSM8994 UEFI (Lumia 950 XL)