Skip to content

Commit 8df2de9

Browse files
committed
Include binlogs in build artifacts
1 parent e74322a commit 8df2de9

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ environment:
1414
build_script:
1515
- ps: dotnet --info
1616
- ps: dotnet restore
17-
- ps: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true
17+
- ps: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true -bl:$env:BUILD_ARTIFACT_PATH/msbuild-build.binlog
1818
- ps: dotnet test --no-restore /p:SkipBuildVersioning=true
19-
- ps: dotnet pack --no-build -c Release /p:PackageOutputPath=$env:BUILD_ARTIFACT_PATH /p:ContinuousIntegrationBuild=true
19+
- ps: dotnet pack --no-build -c Release /p:PackageOutputPath=$env:BUILD_ARTIFACT_PATH /p:ContinuousIntegrationBuild=true -bl:$env:BUILD_ARTIFACT_PATH/msbuild-pack.binlog
2020

2121
test: false
2222
artifacts:

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
- name: Install dependencies
3939
run: dotnet restore
4040
- name: Build
41-
run: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true
41+
run: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true -bl:${{env.BUILD_ARTIFACT_PATH}}/msbuild-build.binlog
4242
- name: Test with Coverage
4343
run: dotnet test --no-restore --logger trx --results-directory ${{env.BUILD_ARTIFACT_PATH}}/coverage --collect "XPlat Code Coverage" --settings CodeCoverage.runsettings /p:SkipBuildVersioning=true
4444
- name: Pack
45-
run: dotnet pack --no-build -c Release /p:PackageOutputPath=${{env.BUILD_ARTIFACT_PATH}} /p:ContinuousIntegrationBuild=true
45+
run: dotnet pack --no-build -c Release /p:PackageOutputPath=${{env.BUILD_ARTIFACT_PATH}} /p:ContinuousIntegrationBuild=true -bl:${{env.BUILD_ARTIFACT_PATH}}/msbuild-pack.binlog
4646
- name: Publish artifacts
4747
uses: actions/upload-artifact@v2
4848
with:

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
- script: dotnet restore
2626
displayName: Install dependencies
2727

28-
- script: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true
28+
- script: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true -bl:$(BUILD_ARTIFACT_PATH)/msbuild-build.binlog
2929
displayName: Build
3030

3131
- script: dotnet test --no-restore /p:SkipBuildVersioning=true
3232
displayName: Test
3333

34-
- script: dotnet pack --no-build -c Release /p:PackageOutputPath=$(BUILD_ARTIFACT_PATH) /p:ContinuousIntegrationBuild=true
34+
- script: dotnet pack --no-build -c Release /p:PackageOutputPath=$(BUILD_ARTIFACT_PATH) /p:ContinuousIntegrationBuild=true -bl:$(BUILD_ARTIFACT_PATH)/msbuild-pack.binlog
3535
displayName: Pack
3636

3737
- task: PublishBuildArtifacts@1

0 commit comments

Comments
 (0)