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 Oct 4, 2024
1 parent 775dab0 commit f461c3c
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 @@ -79,6 +82,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,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 @@ -220,6 +225,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,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 @@ -296,6 +303,8 @@ jobs:
-S . -B build
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,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 f461c3c

Please sign in to comment.