Skip to content

Commit

Permalink
Enable dependency graph reporting for vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Mar 31, 2024
1 parent 629152d commit d3cc44f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: write

jobs:
# HACK to enable/disable the max CI based on presence/absence of secret. See also:
# https://github.com/actions/runner/issues/1138
Expand Down Expand Up @@ -81,6 +84,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
VCPKG_FEATURE_FLAGS: ${{ (github.event_name == 'push' && 'dependencygraph') || '' }}
GITHUB_TOKEN: ${{ (github.event_name == 'push' && secrets.GITHUB_TOKEN) || '' }}

- name: Build
run: |
Expand Down Expand Up @@ -224,6 +229,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
VCPKG_FEATURE_FLAGS: ${{ (github.event_name == 'push' && 'dependencygraph') || '' }}
GITHUB_TOKEN: ${{ (github.event_name == 'push' && secrets.GITHUB_TOKEN) || '' }}

- name: Build
run: |
Expand Down Expand Up @@ -300,6 +307,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
VCPKG_FEATURE_FLAGS: ${{ (github.event_name == 'push' && 'dependencygraph') || '' }}
GITHUB_TOKEN: ${{ (github.event_name == 'push' && secrets.GITHUB_TOKEN) || '' }}

- name: Build
run: |
Expand Down

0 comments on commit d3cc44f

Please sign in to comment.