Skip to content

Commit a7c931d

Browse files
committed
Simpler options
1 parent 21510dd commit a7c931d

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

windows-release/openssl-build.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ parameters:
1414
displayName: 'Sources Repository'
1515
type: string
1616
default: 'https://github.com/python/cpython-source-deps'
17-
- name: BuildVMName
18-
displayName: 'Build VM override'
19-
type: string
20-
default: windows-latest
21-
- name: PlatformToolset
22-
displayName: 'PlatformToolset'
23-
type: string
24-
default: '(default)'
17+
- name: CustomBuild
18+
displayName: 'Custom build VM'
19+
type: boolean
20+
default: false
2521
- name: IncludeX86
2622
displayName: 'Include x86'
2723
type: boolean
@@ -50,16 +46,13 @@ variables:
5046
value: '$(Build.ArtifactStagingDirectory)'
5147
- name: SigningDescription
5248
value: 'OpenSSL for Python (${{ parameters.SourceTag }})'
53-
- ${{ if ne(parameters.PlatformToolset, '(default)') }}:
54-
- name: PlatformToolset
55-
value: ${{ parameters.PlatformToolset }}
5649

5750

5851
jobs:
5952
- job: Build_SSL
6053
displayName: OpenSSL
6154
pool:
62-
${{ if eq(parameters.BuildVMName, 'windows-latest') }}:
55+
${{ if eq(parameters.CustomBuildVM, 'false') }}:
6356
vmImage: windows-latest
6457
${{ else }}:
6558
name: 'Windows Release'

0 commit comments

Comments
 (0)