Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 38 additions & 29 deletions azure-pipelines/analyzer.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
trigger:
branches:
include:
- master
paths:
exclude:
#- .gitignore
- .github/*
- README.md
- appveyor.yml
tags:
include:
- '*'
# trigger:
# branches:
# include:
# - master
# paths:
# exclude:
# #- .gitignore
# - .github/*
# - README.md
# - appveyor.yml
# tags:
# include:
# - '*'

pr:
branches:
include:
- master
paths:
exclude:
#- .gitignore
- .github/*
- README.md
- appveyor.yml
- LICENSE
# pr:
# branches:
# include:
# - master
# paths:
# exclude:
# #- .gitignore
# - .github/*
# - README.md
# - appveyor.yml
# - LICENSE

trigger: none
pr: none
resources:
pipelines:
- pipeline: vcpkg
source: 'Raffaello.sdl2-vga-terminal.vcpkg'

variables:
- template: variables/global.yml
Expand All @@ -41,11 +48,13 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: templates/dep-vcpkg-steps.yml
parameters:
vcpkg_key_cache: $(CACHE_VCPKG_KEY)
triplet: $(TRIPLET)
arch: $(ARCH)
# - template: templates/dep-vcpkg-steps.yml
# parameters:
# vcpkg_key_cache: $(CACHE_VCPKG_KEY)
# triplet: $(TRIPLET)
# arch: $(ARCH)
- download: Raffaello.sdl2-vga-terminal.vcpkg
artifact: dep-vcpkg


- stage: Analyzer
Expand Down
54 changes: 54 additions & 0 deletions azure-pipelines/vcpkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
trigger:
branches:
include:
- master
paths:
exclude:
#- .gitignore
- .github/*
- README.md
- appveyor.yml
tags:
include:
- '*'

pr:
branches:
include:
- master
paths:
exclude:
#- .gitignore
- .github/*
- README.md
- appveyor.yml
- LICENSE

variables:
- template: variables/global.yml
- template: variables/images.yml
- template: variables/build_switches.yml

stages:
- stage: Dep
jobs:
- job: vcpkg
strategy:
matrix:
osx:
imageName: ${{ variables.mac_image }}
TRIPLET: x64-osx
pool:
vmImage: $(imageName)
steps:
- template: templates/dep-vcpkg-steps.yml
parameters:
vcpkg_key_cache: $(CACHE_VCPKG_KEY)
triplet: $(TRIPLET)
arch: $(ARCH)
# - task: CopyFiles@2
# inputs:
# contents: '$(Build.SourcesDirectory)/vcpkg'
# targetFolder: $(Build.ArtifactStagingDirectory)
- publish: '$(Build.SourcesDirectory)/vcpkg'
artifact: dep-vcpkg