File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ name: Takatori-CI
22
33on :
44 push :
5+ paths-ignore :
6+ - ' **.md'
57 pull_request :
8+ paths-ignore :
9+ - ' **.md'
610 workflow_dispatch :
711 inputs :
812 os :
@@ -61,12 +65,21 @@ jobs:
6165 timeout-minutes : 30
6266 container :
6367 image : ghcr.io/project-tsurugi/tsurugi-ci:almalinux-latest
68+ volumes :
69+ - ${{ vars.ccache_dir }}:${{ vars.ccache_dir }}
70+ - ${{ vars.ctcache_dir }}:${{ vars.ctcache_dir }}
6471 defaults :
6572 run :
6673 shell : bash
6774 env :
6875 CCACHE_CONFIGPATH : ${{ vars.ccache_dir }}/ccache.conf
6976 CCACHE_DIR : ${{ vars.ccache_dir }}/almalinux-latest
77+
78+ CTCACHE_DISABLE : ${{ vars.ctcache_disable }}
79+ CTCACHE_DIR : ${{ vars.ctcache_dir }}/almalinux-latest
80+ CTCACHE_SAVE_OUTPUT : 1
81+ CTCACHE_LOCAL : 1
82+
7083 CC : clang
7184 CXX : clang++
7285
8598
8699 - name : Clang-Tidy
87100 run : |
88- python3 tools/bin/run-clang-tidy.py -quiet -export-fixes=build/clang-tidy-fix.yaml -p build -extra-arg=-Wno-unknown-warning-option -header-filter=$(pwd)'/(include|src)/.*\.h$' -exclude='(parser|scanner)\.cpp$' $(pwd)'/src/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
101+ python3 tools/bin/run-clang-tidy.py -clang-tidy-binary=/opt/ctcache/clang-tidy - quiet -export-fixes=build/clang-tidy-fix.yaml -p build -extra-arg=-Wno-unknown-warning-option -header-filter=$(pwd)'/(include|src)/.*\.h$' -exclude='(parser|scanner)\.cpp$' $(pwd)'/src/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
89102
90103 - name : Doxygen
91104 run : |
You can’t perform that action at this time.
0 commit comments