forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re enable analyzers for Visual Studio build (Azure#9912)
- Loading branch information
Showing
10 changed files
with
264 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -252,22 +252,12 @@ jobs: | |
uses: microsoft/[email protected] | ||
|
||
- name: Build Bicep.sln | ||
# disabling analyzers because of a Roslyn dependency issue that only occurs in msbuild in CI | ||
# however we have already run the same analyzers in the dotnet build | ||
run: msbuild Bicep.sln /restore /p:Configuration=Release /p:EnforceCodeStyleInBuild=false /p:EnableNETAnalyzers=false /v:m /bl:./src/binlog/bicep_build.binlog | ||
|
||
- name: Upload Bicep.sln build binlog | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-binlog-files | ||
path: ./src/binlog/bicep_build.binlog | ||
if-no-files-found: error | ||
run: dotnet build --configuration release | ||
|
||
- name: Build BicepInVisualStudio.sln | ||
# TODO: Find a way to re-enable analyzers | ||
run: msbuild src/vs-bicep/BicepInVisualStudio.sln /restore /p:Configuration=Release /p:EnforceCodeStyleInBuild=false /p:EnableNETAnalyzers=false /v:m /bl:./src/binlog/bicep_in_visual_studio_build.binlog | ||
run: msbuild src/vs-bicep/BicepInVisualStudio.sln /restore /p:Configuration=Release /v:m /bl:./src/binlog/bicep_in_visual_studio_build.binlog | ||
|
||
- name: Upload Bicep.sln build binlog | ||
- name: Upload BicepInVisualStudio.sln build binlog | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-binlog-files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.