-
Notifications
You must be signed in to change notification settings - Fork 19
/
azure-pipelines.yml
159 lines (121 loc) · 6.09 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# SurfaceDuoPkg CI build on VSTS
trigger:
branches:
include:
- main
paths:
exclude:
- README.md
- LICENSE
pool:
vmImage: 'ubuntu-latest'
steps:
###################################################################################################################
- task: UsePythonVersion@0
inputs:
versionSpec: '3.10'
architecture: 'x64'
displayName: Setup correct Python
###################################################################################################################
- script: export CLANGPDB_BIN=/usr/lib/llvm-38/bin/ && export CLANGPDB_AARCH64_PREFIX=aarch64-linux-gnu-
displayName: 'Setup CLANG environment'
###################################################################################################################
- script: chmod +x ./build_setup.sh && ./build_setup.sh
displayName: 'Setup UEFI build environment'
###################################################################################################################
- script: chmod +x ./build_fd_epsilon.sh && ./build_fd_epsilon.sh
displayName: 'Build Surface Duo (1st Gen) FD'
# Publish FD
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (FD for making your own Dual Boot Image)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/SM8150_EFI.fd
artifactName: Surface Duo (1st Gen) UEFI (FD for making your own Dual Boot Image)
# Publish FD (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (FD for making your own Dual Boot Image)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/SM8150_EFI_NOSB.fd
artifactName: Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (FD for making your own Dual Boot Image)
###################################################################################################################
- script: chmod +x ./build_bootshim_epsilon.sh && ./build_bootshim_epsilon.sh
displayName: 'Build Surface Duo (1st Gen) BootShim'
###################################################################################################################
- script: chmod +x ./build_uefi_epsilon.sh && ./build_uefi_epsilon.sh
displayName: 'Build Surface Duo (1st Gen) UEFI'
# Publish UEFI
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (Fast Boot)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/uefi.img
artifactName: Surface Duo (1st Gen) UEFI (Fast Boot)
# Publish UEFI (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (Fast Boot)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/uefi_nosb.img
artifactName: Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (Fast Boot)
###################################################################################################################
- script: chmod +x ./build_boot_epsilon.sh && ./build_boot_epsilon.sh
displayName: 'Build Surface Duo (1st Gen) Boot'
# Publish Boot
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (Dual Boot)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/boot.img
artifactName: Surface Duo (1st Gen) UEFI (Dual Boot)
# Publish Boot (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (Dual Boot)'
inputs:
pathtoPublish: ./ImageResources/Epsilon/boot_nosb.img
artifactName: Surface Duo (1st Gen) UEFI (Secure Boot Disabled) (Dual Boot)
###################################################################################################################
- script: chmod +x ./build_fd_zeta.sh && ./build_fd_zeta.sh
displayName: 'Build Surface Duo 2 FD'
# Publish FD
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (FD for making your own Dual Boot Image)'
inputs:
pathtoPublish: ./ImageResources/Zeta/SM8350_EFI.fd
artifactName: Surface Duo 2 UEFI (FD for making your own Dual Boot Image)
# Publish FD (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (Secure Boot Disabled) (FD for making your own Dual Boot Image)'
inputs:
pathtoPublish: ./ImageResources/Zeta/SM8350_EFI_NOSB.fd
artifactName: Surface Duo 2 UEFI (Secure Boot Disabled) (FD for making your own Dual Boot Image)
###################################################################################################################
- script: chmod +x ./build_bootshim_zeta.sh && ./build_bootshim_zeta.sh
displayName: 'Build Surface Duo 2 BootShim'
###################################################################################################################
- script: chmod +x ./build_uefi_zeta.sh && ./build_uefi_zeta.sh
displayName: 'Build Surface Duo 2 UEFI'
# Publish UEFI
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (Fast Boot)'
inputs:
pathtoPublish: ./ImageResources/Zeta/uefi.img
artifactName: Surface Duo 2 UEFI (Fast Boot)
# Publish UEFI (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (Secure Boot Disabled) (Fast Boot)'
inputs:
pathtoPublish: ./ImageResources/Zeta/uefi_nosb.img
artifactName: Surface Duo 2 UEFI (Secure Boot Disabled) (Fast Boot)
###################################################################################################################
- script: chmod +x ./build_boot_zeta.sh && ./build_boot_zeta.sh
displayName: 'Build Surface Duo 2 Boot'
# Publish Boot
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (Dual Boot)'
inputs:
pathtoPublish: ./ImageResources/Zeta/boot.img
artifactName: Surface Duo 2 UEFI (Dual Boot)
# Publish Boot (Secure Boot Disabled)
- task: PublishBuildArtifacts@1
displayName: 'Publish Surface Duo 2 UEFI (Secure Boot Disabled) (Dual Boot)'
inputs:
pathtoPublish: ./ImageResources/Zeta/boot_nosb.img
artifactName: Surface Duo 2 UEFI (Secure Boot Disabled) (Dual Boot)
###################################################################################################################