mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-24 05:10:13 +00:00
Update ADO build pipelines (#171)
This commit is contained in:
parent
2145262f3a
commit
a4f6d7bd78
@ -43,7 +43,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: CMake@1
|
||||
displayName: 'CMake (MSVC): Config x64'
|
||||
inputs:
|
||||
|
@ -54,7 +54,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: CMake@1
|
||||
displayName: CMake (MSVC x64)
|
||||
inputs:
|
||||
|
@ -47,7 +47,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution math3_2022.sln x86dbg
|
||||
inputs:
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
- task: PowerShell@2
|
||||
displayName: Install MinGW32
|
||||
@ -128,7 +128,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
- task: CmdLine@2
|
||||
displayName: GCC version
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: CMake@1
|
||||
displayName: DirectXMath Tests
|
||||
inputs:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: CMake@1
|
||||
displayName: DirectXMath Tests
|
||||
inputs:
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution math3_2019.sln x86dbg
|
||||
inputs:
|
||||
@ -344,7 +344,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution math3_2017.sln x86dbg
|
||||
inputs:
|
||||
|
@ -55,7 +55,7 @@ jobs:
|
||||
- task: CmdLine@2
|
||||
displayName: Fetch Tests
|
||||
inputs:
|
||||
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
|
||||
- task: Armory@2
|
||||
displayName: Run ARMory
|
||||
- task: CMake@1
|
||||
@ -63,18 +63,19 @@ jobs:
|
||||
inputs:
|
||||
cwd: '$(Build.SourcesDirectory)/Tests/headertest'
|
||||
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out'
|
||||
- task: Semmle@1
|
||||
displayName: 'Run CodeQL (Semmle) (C++)'
|
||||
env:
|
||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
||||
- task: CodeQL3000Init@0
|
||||
inputs:
|
||||
sourceCodeDirectory: '$(Build.SourcesDirectory)'
|
||||
language: 'cpp'
|
||||
querySuite: 'Recommended'
|
||||
timeout: '1800'
|
||||
ram: '16384'
|
||||
addProjectDirToScanningExclusionList: true
|
||||
buildCommandsString: '"%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/Tests/headertest/out/headertest.sln /p:Configuration=Release'
|
||||
Enabled: true
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build C++ with CodeQL'
|
||||
inputs:
|
||||
solution: '$(Build.SourcesDirectory)/Tests/headertest/out/headertest.sln'
|
||||
vsVersion: 17.0
|
||||
platform: x64
|
||||
configuration: Release
|
||||
msbuildArchitecture: x64
|
||||
- task: CodeQL3000Finalize@0
|
||||
condition: always()
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
|
||||
displayName: 'Post Analysis'
|
||||
inputs:
|
||||
|
Loading…
Reference in New Issue
Block a user