Skip to content

Commit a4f6d7b

Browse files
authored
Update ADO build pipelines (#171)
1 parent 2145262 commit a4f6d7b

8 files changed

+22
-21
lines changed

build/DirectXMath-GitHub-CMake-Dev17.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- task: CmdLine@2
4444
displayName: Fetch Tests
4545
inputs:
46-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
46+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
4747
- task: CMake@1
4848
displayName: 'CMake (MSVC): Config x64'
4949
inputs:

build/DirectXMath-GitHub-CMake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- task: CmdLine@2
5555
displayName: Fetch Tests
5656
inputs:
57-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
57+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
5858
- task: CMake@1
5959
displayName: CMake (MSVC x64)
6060
inputs:

build/DirectXMath-GitHub-Dev17.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- task: CmdLine@2
4848
displayName: Fetch Tests
4949
inputs:
50-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
50+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
5151
- task: VSBuild@1
5252
displayName: Build solution math3_2022.sln x86dbg
5353
inputs:

build/DirectXMath-GitHub-MinGW.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- task: CmdLine@2
6161
displayName: Fetch Tests
6262
inputs:
63-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
63+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
6464
workingDirectory: $(Build.SourcesDirectory)
6565
- task: PowerShell@2
6666
displayName: Install MinGW32
@@ -128,7 +128,7 @@ jobs:
128128
- task: CmdLine@2
129129
displayName: Fetch Tests
130130
inputs:
131-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
131+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
132132
workingDirectory: $(Build.SourcesDirectory)
133133
- task: CmdLine@2
134134
displayName: GCC version

build/DirectXMath-GitHub-WSL-11.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- task: CmdLine@2
4040
displayName: Fetch tests
4141
inputs:
42-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
42+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
4343
- task: CMake@1
4444
displayName: DirectXMath Tests
4545
inputs:

build/DirectXMath-GitHub-WSL.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- task: CmdLine@2
5959
displayName: Fetch tests
6060
inputs:
61-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
61+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
6262
- task: CMake@1
6363
displayName: DirectXMath Tests
6464
inputs:

build/DirectXMath-GitHub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- task: CmdLine@2
6868
displayName: Fetch Tests
6969
inputs:
70-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
70+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
7171
- task: VSBuild@1
7272
displayName: Build solution math3_2019.sln x86dbg
7373
inputs:
@@ -344,7 +344,7 @@ jobs:
344344
- task: CmdLine@2
345345
displayName: Fetch Tests
346346
inputs:
347-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
347+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
348348
- task: VSBuild@1
349349
displayName: Build solution math3_2017.sln x86dbg
350350
inputs:

build/DirectXMath-SDL.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,27 @@ jobs:
5555
- task: CmdLine@2
5656
displayName: Fetch Tests
5757
inputs:
58-
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
58+
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
5959
- task: Armory@2
6060
displayName: Run ARMory
6161
- task: CMake@1
6262
displayName: 'CMake (MSVC): Config x64'
6363
inputs:
6464
cwd: '$(Build.SourcesDirectory)/Tests/headertest'
6565
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out'
66-
- task: Semmle@1
67-
displayName: 'Run CodeQL (Semmle) (C++)'
68-
env:
69-
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
66+
- task: CodeQL3000Init@0
7067
inputs:
71-
sourceCodeDirectory: '$(Build.SourcesDirectory)'
72-
language: 'cpp'
73-
querySuite: 'Recommended'
74-
timeout: '1800'
75-
ram: '16384'
76-
addProjectDirToScanningExclusionList: true
77-
buildCommandsString: '"%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/Tests/headertest/out/headertest.sln /p:Configuration=Release'
68+
Enabled: true
69+
- task: VSBuild@1
70+
displayName: 'Build C++ with CodeQL'
71+
inputs:
72+
solution: '$(Build.SourcesDirectory)/Tests/headertest/out/headertest.sln'
73+
vsVersion: 17.0
74+
platform: x64
75+
configuration: Release
76+
msbuildArchitecture: x64
77+
- task: CodeQL3000Finalize@0
78+
condition: always()
7879
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
7980
displayName: 'Post Analysis'
8081
inputs:

0 commit comments

Comments
 (0)