Skip to content

Commit 1156720

Browse files
committed
Override platforms
1 parent bffd3e3 commit 1156720

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

windows-release/openssl-build.yml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ parameters:
2222
displayName: 'PlatformToolset'
2323
type: string
2424
default: '(default)'
25+
- name: IncludeX86
26+
displayName: 'Include x86'
27+
type: boolean
28+
default: true
29+
- name: IncludeX64
30+
displayName: 'Include x64'
31+
type: boolean
32+
default: true
33+
- name: IncludeARM64
34+
displayName: 'Include ARM64'
35+
type: boolean
36+
default: true
2537

2638

2739
name: ${{ parameters.SourceTag }}_$(Date:yyyyMMdd)$(Rev:.rr)
@@ -54,18 +66,21 @@ jobs:
5466

5567
strategy:
5668
matrix:
57-
win32:
58-
Platform: 'win32'
59-
VCPlatform: 'amd64_x86'
60-
OpenSSLPlatform: 'VC-WIN32 no-asm'
61-
amd64:
62-
Platform: 'amd64'
63-
VCPlatform: 'amd64'
64-
OpenSSLPlatform: 'VC-WIN64A-masm'
65-
arm64:
66-
Platform: 'arm64'
67-
VCPlatform: 'amd64_arm64'
68-
OpenSSLPlatform: 'VC-WIN64-ARM'
69+
${{ if eq(parameters.IncludeX86, 'true') }}:
70+
win32:
71+
Platform: 'win32'
72+
VCPlatform: 'amd64_x86'
73+
OpenSSLPlatform: 'VC-WIN32 no-asm'
74+
${{ if eq(parameters.IncludeX64, 'true') }}:
75+
amd64:
76+
Platform: 'amd64'
77+
VCPlatform: 'amd64'
78+
OpenSSLPlatform: 'VC-WIN64A-masm'
79+
${{ if eq(parameters.IncludeARM64, 'true') }}:
80+
arm64:
81+
Platform: 'arm64'
82+
VCPlatform: 'amd64_arm64'
83+
OpenSSLPlatform: 'VC-WIN64-ARM'
6984

7085
workspace:
7186
clean: all

0 commit comments

Comments
 (0)