File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ trigger :
3
+ branches :
4
+ include :
5
+ - master
6
+ paths :
7
+ include :
8
+ - .ci/graphviz.yml
9
+ - .ci/templates/graphviz.yml
10
+
11
+ pool :
12
+ vmImage : windows-latest
13
+
14
+ variables :
15
+ install.directory : $(Build.StagingDirectory)/graphviz-windows-x64/Library/graphviz-development
16
+
17
+ steps :
18
+ - checkout : self
19
+ - script : |
20
+ git clone --no-tags --depth=1 https://gitlab.com/graphviz/graphviz.git
21
+ git -C graphviz submodule update --init
22
+ - task : BatchScript@1
23
+ inputs :
24
+ filename : C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/Tools/VsDevCmd.bat
25
+ arguments : -no_logo -arch=x64 -host_arch=x64
26
+ modifyEnvironment : true
27
+ displayName : ' VsDevCmd'
28
+ - task : UsePythonVersion@0
29
+ inputs :
30
+ versionSpec : 3.x
31
+ name : python
32
+ - task : CMake@1
33
+ inputs :
34
+ cmakeArgs :
35
+ -B $(Build.BinariesDirectory)/graphviz
36
+ -D BISON_EXECUTABLE=$(Build.SourcesDirectory)/graphviz/windows/dependencies/graphviz-build-utilities/winflexbison/win_bison.exe
37
+ -D FLEX_EXECUTABLE=$(Build.SourcesDirectory)/graphviz/windows/dependencies/graphviz-build-utilities/winflexbison/win_flex.exe
38
+ -D CMAKE_BUILD_TYPE=MinSizeRel
39
+ -D CMAKE_INSTALL_PREFIX=$(install.directory)/usr
40
+ -S $(Build.SourcesDirectory)/graphviz
41
+ - task : CMake@1
42
+ inputs :
43
+ cmakeArgs : --build $(Build.BinariesDirectory)/graphviz --target install
44
+ - publish : $(Build.StagingDirectory)/graphviz-windows-x64
45
+ artifact : graphviz-windows-x64
You can’t perform that action at this time.
0 commit comments