diff --git a/.github/workflows/VS-CI-Tests.yml b/.github/workflows/VS-CI-Tests.yml index f392e830445..3c26e24d959 100644 --- a/.github/workflows/VS-CI-Tests.yml +++ b/.github/workflows/VS-CI-Tests.yml @@ -33,9 +33,9 @@ jobs: # Use vcpkg to install devel library dependencies. - name: Library Dependencies (vcpkg) - uses: lukka/run-vcpkg@v10 + uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: 'a7b6122f6b6504d16d96117336a0562693579933' + vcpkgGitCommitId: '56954f1db97f38635782d5ad7cdfd45d2731c854' - name: Create Build Directory working-directory: ${{github.workspace}} diff --git a/.github/workflows/populate-deps.yml b/.github/workflows/populate-deps.yml new file mode 100644 index 00000000000..38cdcaab8c2 --- /dev/null +++ b/.github/workflows/populate-deps.yml @@ -0,0 +1,40 @@ +name: Populate dependencies + +on: + push: + branches: [ master ] + workflow_dispatch: + +permissions: + contents: write + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VCPKG_FEATURE_FLAGS: dependencygraph + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: 'recursive' + + - name: Checkout vcpkg + run: | + git clone https://github.com/Microsoft/vcpkg.git + cd vcpkg + git checkout 56954f1db97f38635782d5ad7cdfd45d2731c854 + + - name: Bootstrap vcpkg + working-directory: vcpkg + run: ./bootstrap-vcpkg.sh + + # This will execute a dry-run, meaning that libraries will not be built and + # installed, but they will still be reported to the GitHub dependency graph. + # This step assumes `vcpkg` has been bootstrapped (run `./vcpkg/bootstrap-vcpkg`) + - name: Run vcpkg + run: ${{ github.workspace }}/vcpkg/vcpkg install --dry-run --debug + diff --git a/vcpkg.json b/vcpkg.json index eeb53f816c3..953920a6b60 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -12,5 +12,5 @@ "version": "3.40.1" } ], - "builtin-baseline": "a7b6122f6b6504d16d96117336a0562693579933" + "builtin-baseline": "56954f1db97f38635782d5ad7cdfd45d2731c854" }