Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24d5021

Browse files
committed
CI: take wild guess at how to merge the two variable setting lines
1 parent 245868d commit 24d5021

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ci/azure-pipelines-steps.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ steps:
2222

2323
- script: |
2424
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
25-
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include
26-
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release
27-
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
2825
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
29-
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
30-
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
26+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
3127
echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
28+
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include:/I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
29+
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
30+
3231
displayName: 'Install dependencies with nuget'
3332
3433
- ${{ if eq(parameters.installer, 'brew') }}:

0 commit comments

Comments
 (0)