Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions azure-devops/run-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
jobs:
- job: ${{ parameters.targetPlatform }}
timeoutInMinutes: 360
pool:
name: $(agentPool)

variables:
buildOutputLocation: 'D:\build\${{ parameters.targetPlatform }}'
Expand Down Expand Up @@ -74,7 +72,7 @@ jobs:
- task: CmdLine@2
displayName: 'Run Tests'
timeoutInMinutes: 120
condition: in('${{ parameters.targetPlatform }}', 'x64', 'x86')
condition: and(succeeded(), in('${{ parameters.targetPlatform }}', 'x64', 'x86'))
inputs:
workingDirectory: $(buildOutputLocation)
script: |
Expand All @@ -85,7 +83,7 @@ jobs:
- task: PublishTestResults@2
displayName: 'Publish Tests'
timeoutInMinutes: 10
condition: in('${{ parameters.targetPlatform }}', 'x64', 'x86')
condition: and(succeededOrFailed(), in('${{ parameters.targetPlatform }}', 'x64', 'x86'))
inputs:
searchFolder: $(buildOutputLocation)
testResultsFormat: JUnit
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@
# Build STL targeting x86, x64, arm, arm64

variables:
agentPool: 'StlBuild-2020-09-14'
tmpDir: 'D:\Temp'

pool: 'StlBuild-2020-09-14'

stages:
- stage: Code_Format
displayName: 'Code Format'
jobs:
- job: Code_Format_Validation
timeoutInMinutes: 90
displayName: 'Validation'
pool:
name: $(agentPool)

variables:
buildOutputLocation: 'D:\tools'
steps:
Expand All @@ -43,6 +41,7 @@ stages:
- task: BatchScript@1
displayName: 'Enforce clang-format'
timeoutInMinutes: 60
condition: succeededOrFailed()
inputs:
filename: 'azure-devops/enforce-clang-format.cmd'
failOnStandardError: true
Expand All @@ -51,6 +50,7 @@ stages:
- task: BatchScript@1
displayName: 'Validate Files'
timeoutInMinutes: 2
condition: succeededOrFailed()
inputs:
filename: 'azure-devops/validate-files.cmd'
failOnStandardError: true
Expand Down