Skip to content

Commit 6ff1833

Browse files
committed
[azure-pipelines] add vcpkg dependencies pipeline
1 parent 2ead297 commit 6ff1833

File tree

2 files changed

+92
-29
lines changed

2 files changed

+92
-29
lines changed

azure-pipelines/analyzer.yml

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
trigger:
2-
branches:
3-
include:
4-
- master
5-
paths:
6-
exclude:
7-
#- .gitignore
8-
- .github/*
9-
- README.md
10-
- appveyor.yml
11-
tags:
12-
include:
13-
- '*'
1+
# trigger:
2+
# branches:
3+
# include:
4+
# - master
5+
# paths:
6+
# exclude:
7+
# #- .gitignore
8+
# - .github/*
9+
# - README.md
10+
# - appveyor.yml
11+
# tags:
12+
# include:
13+
# - '*'
1414

15-
pr:
16-
branches:
17-
include:
18-
- master
19-
paths:
20-
exclude:
21-
#- .gitignore
22-
- .github/*
23-
- README.md
24-
- appveyor.yml
25-
- LICENSE
15+
# pr:
16+
# branches:
17+
# include:
18+
# - master
19+
# paths:
20+
# exclude:
21+
# #- .gitignore
22+
# - .github/*
23+
# - README.md
24+
# - appveyor.yml
25+
# - LICENSE
26+
27+
trigger: none
28+
pr: none
29+
resources:
30+
pipelines:
31+
- pipeline: vcpkg
32+
source: 'Raffaello.sdl2-vga-terminal.vcpkg'
2633

2734
variables:
2835
- template: variables/global.yml
@@ -41,11 +48,13 @@ stages:
4148
pool:
4249
vmImage: $(imageName)
4350
steps:
44-
- template: templates/dep-vcpkg-steps.yml
45-
parameters:
46-
vcpkg_key_cache: $(CACHE_VCPKG_KEY)
47-
triplet: $(TRIPLET)
48-
arch: $(ARCH)
51+
# - template: templates/dep-vcpkg-steps.yml
52+
# parameters:
53+
# vcpkg_key_cache: $(CACHE_VCPKG_KEY)
54+
# triplet: $(TRIPLET)
55+
# arch: $(ARCH)
56+
- download: Raffaello.sdl2-vga-terminal.vcpkg
57+
artifact: dep-vcpkg
4958

5059

5160
- stage: Analyzer

azure-pipelines/vcpkg.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
paths:
6+
exclude:
7+
#- .gitignore
8+
- .github/*
9+
- README.md
10+
- appveyor.yml
11+
tags:
12+
include:
13+
- '*'
14+
15+
pr:
16+
branches:
17+
include:
18+
- master
19+
paths:
20+
exclude:
21+
#- .gitignore
22+
- .github/*
23+
- README.md
24+
- appveyor.yml
25+
- LICENSE
26+
27+
variables:
28+
- template: variables/global.yml
29+
- template: variables/images.yml
30+
- template: variables/build_switches.yml
31+
32+
stages:
33+
- stage: Dep
34+
jobs:
35+
- job: vcpkg
36+
strategy:
37+
matrix:
38+
osx:
39+
imageName: ${{ variables.mac_image }}
40+
TRIPLET: x64-osx
41+
pool:
42+
vmImage: $(imageName)
43+
steps:
44+
- template: templates/dep-vcpkg-steps.yml
45+
parameters:
46+
vcpkg_key_cache: $(CACHE_VCPKG_KEY)
47+
triplet: $(TRIPLET)
48+
arch: $(ARCH)
49+
# - task: CopyFiles@2
50+
# inputs:
51+
# contents: '$(Build.SourcesDirectory)/vcpkg'
52+
# targetFolder: $(Build.ArtifactStagingDirectory)
53+
- publish: '$(Build.SourcesDirectory)/vcpkg'
54+
artifact: dep-vcpkg

0 commit comments

Comments
 (0)