File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Compdb
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ push :
8+ pull_request :
9+ branches :
10+ - main
11+
12+ concurrency :
13+ group : ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
14+ cancel-in-progress : true
15+
16+
17+
18+ jobs :
19+ compdb :
20+ permissions :
21+ contents : read
22+ runs-on : ubuntu-22.04
23+ if : github.repository == 'envoyproxy/envoy'
24+ steps :
25+ - uses : envoyproxy/toolshed/gh-actions/bind-mounts@actions-v0.3.35
26+ if : |
27+ ! github.event.repository.private
28+ with :
29+ mounts : |
30+ - src: /mnt/workspace
31+ target: GITHUB_WORKSPACE
32+ chown: "runner:runner"
33+ - src: /mnt/runner-cache
34+ target: /home/runner/.cache
35+ chown: "runner:runner"
36+ - name : Free disk space
37+ if : |
38+ env.BUILD_TARGETS != ''
39+ && github.event.repository.private
40+ uses : envoyproxy/toolshed/gh-actions/diskspace@actions-v0.3.35
41+ with :
42+ to_remove : |
43+ /usr/local/.ghcup
44+ /usr/local/lib/android
45+
46+ - name : Checkout repository
47+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48+ with :
49+ fetch-depth : 2
50+
51+ - name : Get build targets
52+ run : |
53+ bazel run --config=clang //:refresh_compile_commands
You can’t perform that action at this time.
0 commit comments