forked from woa-msmnile/msmnilePkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
executable file
·83 lines (67 loc) · 2.46 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
# SurfaceDuoPkg CI build on VSTS
trigger:
branches:
include:
- main
paths:
exclude:
- README.md
- LICENSE
pool:
vmImage: 'ubuntu-latest'
steps:
- script: sudo apt update
displayName: 'Update APT sources'
- task: UsePythonVersion@0
inputs:
versionSpec: '3.10'
architecture: 'x64'
displayName: Install correct Python
- script: sudo apt install -y uuid-dev clang llvm gcc-aarch64-linux-gnu
displayName: 'Install VSTS dependencies'
- script: export CLANG38_BIN=/usr/lib/llvm-38/bin/ && export CLANG38_AARCH64_PREFIX=aarch64-linux-gnu-
displayName: 'Setup CLANG environment'
- script: pip install --upgrade -r ./pip-requirements.txt
displayName: 'Install Python dependencies'
- script: chmod +x ./build_uefi_epsilon.sh && ./build_uefi_epsilon.sh
displayName: 'UEFI build (Epsilon)'
- script: chmod +x ./build_uefi_zeta.sh && ./build_uefi_zeta.sh
displayName: 'UEFI build (Zeta)'
- script: chmod +x ./build_boot_images.sh && ./build_boot_images.sh
displayName: 'UEFI boot image build'
# Publish UEFI (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8150 UEFI build (Surface Duo 1)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/uefi.img
artifactName: SM8150 UEFI (Surface Duo 1)
# Publish UEFI Dual Boot (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8150 UEFI Dual Boot build (Surface Duo 1)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/uefi_dualboot.img
artifactName: SM8150 UEFI Dual Boot (Surface Duo 1)
# Publish FD (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8150 FD build (Surface Duo 1)'
inputs:
pathtoPublish: ./Build/SurfaceDuo1-AARCH64/DEBUG_CLANG38/FV/SM8150_EFI.fd
artifactName: SM8150 FD (Surface Duo 1)
# Publish UEFI (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8350 UEFI build (Surface Duo 2)'
inputs:
pathtoPublish: ./ImageResources/Zeta/uefi.img
artifactName: SM8350 UEFI (Surface Duo 2)
# Publish UEFI Dual Boot (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8350 UEFI Dual Boot build (Surface Duo 2)'
inputs:
pathtoPublish: ./ImageResources/Zeta/uefi_dualboot.img
artifactName: SM8350 UEFI Dual Boot (Surface Duo 2)
# Publish FD (1 target)
- task: PublishBuildArtifacts@1
displayName: 'Publish SM8350 FD build (Surface Duo 2)'
inputs:
pathtoPublish: ./Build/SurfaceDuo2-AARCH64/DEBUG_CLANG38/FV/SM8350_EFI.fd
artifactName: SM8350 FD (Surface Duo 2)