Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions eng/pipelines/templates/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ steps:
/bl:${{ parameters.repoLogPath }}/restore2.binlog
displayName: Restore solution

# Temporarily pre-build the TypeScript bundle as a workaround to make the build more reliable.
- pwsh: |
cd $(Build.SourcesDirectory)/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript
npm install
node html-report/reset-devdata.js
npm run build
displayName: Pre-Build TypeScript Bundle

- script: ${{ parameters.buildScript }}
-build
-configuration ${{ parameters.buildConfig }}
Expand Down Expand Up @@ -119,5 +127,6 @@ steps:
-warnAsError 1
/bl:${{ parameters.repoLogPath }}/pack.binlog
/p:Restore=false /p:Build=false
/p:EnableEvaluationReportBuild=true
$(_OfficialBuildIdArgs)
displayName: Pack, sign, and publish