Skip to content

Commit ecdfe9b

Browse files
committed
Update ADO to use VCPKG 2024.09.30 release
1 parent 2b394d1 commit ecdfe9b

5 files changed

+6
-9
lines changed

build/DirectXTex-GitHub-CMake-Dev17.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ jobs:
219219
clean: true
220220
fetchTags: false
221221
- task: CmdLine@2
222-
# We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
223222
displayName: Fetch VCPKG
224223
inputs:
225-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
224+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
226225
workingDirectory: $(Build.SourcesDirectory)
227226
- task: CmdLine@2
228227
displayName: VCPKG Bootstrap

build/DirectXTex-GitHub-CMake.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ jobs:
219219
clean: true
220220
fetchTags: false
221221
- task: CmdLine@2
222-
# We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
223222
displayName: Fetch VCPKG
224223
inputs:
225-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
224+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
226225
workingDirectory: $(Build.SourcesDirectory)
227226
- task: CmdLine@2
228227
displayName: VCPKG Bootstrap

build/DirectXTex-GitHub-MinGW.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,9 @@ jobs:
7373
clean: true
7474
fetchTags: false
7575
- task: CmdLine@2
76-
# We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
7776
displayName: Fetch VCPKG
7877
inputs:
79-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
78+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
8079
workingDirectory: $(Build.SourcesDirectory)
8180
- task: CmdLine@2
8281
displayName: VCPKG Bootstrap
@@ -203,7 +202,7 @@ jobs:
203202
- task: CmdLine@2
204203
displayName: Fetch VCPKG
205204
inputs:
206-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
205+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
207206
workingDirectory: $(Build.SourcesDirectory)
208207
- task: CmdLine@2
209208
displayName: Fetch Tests

build/DirectXTex-GitHub-WSL-11.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
- task: CmdLine@2
137137
displayName: Fetch VCPKG
138138
inputs:
139-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
139+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
140140
workingDirectory: $(Build.SourcesDirectory)
141141
- task: Bash@3
142142
displayName: VCPKG Bootstrap

build/DirectXTex-GitHub-WSL.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
- task: CmdLine@2
156156
displayName: Fetch VCPKG
157157
inputs:
158-
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
158+
script: git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
159159
workingDirectory: $(Build.SourcesDirectory)
160160
- task: Bash@3
161161
displayName: VCPKG Bootstrap

0 commit comments

Comments
 (0)