Skip to content

Commit 3c1010c

Browse files
authored
Enable warn as error for libraries (#34457)
This enables warn as error for the libraries jobs now that our builds are warning free.
1 parent 73d8178 commit 3c1010c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

eng/pipelines/libraries/base-job.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
- _runtimeOSArg: ''
4545
- _finalFrameworkArg: ''
4646
- _buildScript: $(_buildScriptFileName)$(scriptExt)
47-
- _warnAsErrorArg: ''
4847
- _testScopeArg: ''
4948
- _extraHelixArguments: ''
5049
- _crossBuildPropertyArg: ''
@@ -64,9 +63,6 @@ jobs:
6463
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, ''), eq(parameters.archType, 'arm')) }}:
6564
- _runtimeOSArg: /p:RuntimeOS=ubuntu.16.04
6665

67-
- ${{ if and(or(eq(parameters.osGroup, 'Linux'), eq(parameters.osGroup, 'WebAssembly')), ne(parameters.container, '')) }}:
68-
- _warnAsErrorArg: '-warnAsError false'
69-
7066
- ${{ if eq(parameters.osGroup, 'WebAssembly') }}:
7167
- _runtimeOSArg: -os ${{ parameters.osGroup }}
7268

@@ -120,7 +116,7 @@ jobs:
120116
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
121117
- _buildScript: ./$(_buildScriptFileName)$(scriptExt)
122118

123-
- _buildArguments: -configuration ${{ parameters.buildConfig }} -ci -arch ${{ parameters.archType }} $(_finalFrameworkArg) $(_testScopeArg) $(_warnAsErrorArg) $(_runtimeOSArg) $(_msbuildCommonParameters) $(_runtimeArtifactsPathArg) $(_crossBuildPropertyArg)
119+
- _buildArguments: -configuration ${{ parameters.buildConfig }} -ci -arch ${{ parameters.archType }} $(_finalFrameworkArg) $(_testScopeArg) $(_runtimeOSArg) $(_msbuildCommonParameters) $(_runtimeArtifactsPathArg) $(_crossBuildPropertyArg)
124120
- ${{ parameters.variables }}
125121

126122
dependsOn:

0 commit comments

Comments
 (0)