Skip to content

Commit 17e66c2

Browse files
kirill-ivlevDmitrii Bobreshev (Akvelon INC)
andauthored
disable codeql for macOS (#4890)
* disable codeql for macOS * Update pipeline.yml * Update pipeline.yml * Update pipeline.yml * replace sdl with enforcedSdl * replace sdl with enforcedSdl * replace sdl with enforcedSdl * replace sdl with enforcedSdl * Update build-job.yml --------- Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]>
1 parent 6f58057 commit 17e66c2

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.azure-pipelines/build-job.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ parameters:
6464
- agent
6565
- pipelines-agent
6666

67+
- name: disableSdl
68+
type: boolean
69+
default: false
70+
71+
- name: justificationForDisablingSdl
72+
type: string
73+
default: ''
74+
6775
jobs:
6876

6977
- job: ${{ parameters.jobName }}
@@ -74,6 +82,13 @@ jobs:
7482
${{ if ne(parameters.container, '') }}:
7583
container: ${{ parameters.container }}
7684

85+
${{ if eq(parameters.disableSdl, true) }}:
86+
parameters:
87+
sdl:
88+
codeql:
89+
compiled:
90+
enabled: false
91+
justificationForDisabling: ${{ parameters.justificationForDisablingSdl}}
7792
variables:
7893
PACKAGE_TYPE: ${{ parameters.packageType }}
7994
${{ if eq(parameters.os, 'win') }}:

.azure-pipelines/build-jobs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ parameters:
5959
type: boolean
6060
default: false
6161

62+
- name: disableSdl
63+
type: boolean
64+
default: false
65+
6266
jobs:
6367
- template: /.azure-pipelines/build-job.yml@self
6468
parameters:

.azure-pipelines/pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ extends:
271271
- ${{ if parameters.macOS_x64 }}:
272272
- template: /.azure-pipelines/build-jobs.yml@self
273273
parameters:
274+
disableSdl: true
274275
jobName: build_osx
275276
displayName: macOS (x64)
276277
pool:
@@ -290,6 +291,7 @@ extends:
290291
- ${{ if parameters.macOS_arm64 }}:
291292
- template: /.azure-pipelines/build-jobs.yml@self
292293
parameters:
294+
disableSdl: true
293295
jobName: build_osx_arm64
294296
displayName: macOS (ARM64)
295297
pool:

0 commit comments

Comments
 (0)