Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Azure Pipelines task? #27011

Closed
AnthonyMastrean opened this issue Sep 27, 2022 · 2 comments
Closed

Official Azure Pipelines task? #27011

AnthonyMastrean opened this issue Sep 27, 2022 · 2 comments
Assignees
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre Stale

Comments

@AnthonyMastrean
Copy link

It would be awesome to see an official Azure Pipelines task in the marketplace!

The 2019 update post recommended the third-party CppBuildTasks task. That project hasn't aged well and doesn't support manifest mode nor binary caching.

Following are the custom tasks I use to use vcpkg in manifest mode (assumes a vcpkg.json in the workspace root and an accessible NuGet feed):

azure-pipelines.yml

pool:
  vmImage: windows-latest

variables:
  VCPKG_ARTIFACT_URL: 'https://.../nuget/v3/index.json'
  VCPKG_BINARY_SOURCES: clear;nuget,$(VCPKG_ARTIFACT_URL),readwrite
  VCPKG_GIT_URL: 'https://github.com/microsoft/vcpkg.git'
  VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
  VCPKG_USE_NUGET_CACHE: true

steps:
- task: NuGetAuthenticate@1
  displayName: 'Authenticate NuGet'
- task: CmdLine@2
  displayName: 'Setup vcpkg'
  inputs:
    script: |
      git clone --quiet $(VCPKG_GIT_URL) $(VCPKG_ROOT)
      call $(VCPKG_ROOT)\bootstrap-vcpkg.bat -disableMetrics
      $(VCPKG_ROOT)\vcpkg.exe integrate install
      $(VCPKG_ROOT)\vcpkg.exe install
@JackBoosY JackBoosY self-assigned this Sep 28, 2022
@JackBoosY JackBoosY added the category:infrastructure Pertaining to the CI/Testing infrastrucutre label Sep 28, 2022
@JackBoosY
Copy link
Contributor

cc @BillyONeal

@LilyWangLL LilyWangLL assigned Adela0814 and unassigned JackBoosY Dec 6, 2022
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Nov 16, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre Stale
Projects
None yet
Development

No branches or pull requests

4 participants