diff --git a/azure-pipelines/analyzer.yml b/azure-pipelines/analyzer.yml index f37681ac..c4286ab5 100644 --- a/azure-pipelines/analyzer.yml +++ b/azure-pipelines/analyzer.yml @@ -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 @@ -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 diff --git a/azure-pipelines/vcpkg.yml b/azure-pipelines/vcpkg.yml new file mode 100644 index 00000000..b9decfb5 --- /dev/null +++ b/azure-pipelines/vcpkg.yml @@ -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