File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
actions/install-dependencies Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 11name : Shirakami-Install-Dependencies
2+ description : Install dependencies for Shirakami
23
34inputs :
45 checkout :
3738 rm -fr build
3839 mkdir build
3940 cd build
40- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_TESTS=OFF -DBUILD_DOCUMENTS=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.local ${{ inputs.cmake_build_option }} ..
41+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_TESTS=OFF -DBUILD_DOCUMENTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_STRICT=OFF - DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.local ${{ inputs.cmake_build_option }} ..
4142 cmake --build . --target install --clean-first
4243 shell : bash
4344
4748 rm -fr build
4849 mkdir build
4950 cd build
50- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_TESTS=OFF -DBUILD_DOCUMENTS=OFF -DBUILD_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.local ${{ inputs.cmake_build_option }} ..
51+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_TESTS=OFF -DBUILD_DOCUMENTS=OFF -DBUILD_BENCHMARK=OFF -DBUILD_STRICT=OFF - DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.local ${{ inputs.cmake_build_option }} ..
5152 cmake --build . --target install --clean-first
5253 shell : bash
Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ name: Shirakami-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 :
@@ -94,12 +98,19 @@ jobs:
9498 image : ghcr.io/project-tsurugi/tsurugi-ci:almalinux-latest
9599 volumes :
96100 - ${{ vars.ccache_dir }}:${{ vars.ccache_dir }}
101+ - ${{ vars.ctcache_dir }}:${{ vars.ctcache_dir }}
97102 defaults :
98103 run :
99104 shell : bash
100105 env :
101106 CCACHE_CONFIGPATH : ${{ vars.ccache_dir }}/ccache.conf
102107 CCACHE_DIR : ${{ vars.ccache_dir }}/almalinux-latest
108+
109+ CTCACHE_DISABLE : ${{ vars.ctcache_disable }}
110+ CTCACHE_DIR : ${{ vars.ctcache_dir }}/almalinux-latest
111+ CTCACHE_SAVE_OUTPUT : 1
112+ CTCACHE_LOCAL : 1
113+
103114 CC : clang
104115 CXX : ' clang++ -march=native'
105116
@@ -123,8 +134,8 @@ jobs:
123134
124135 - name : Clang-Tidy
125136 run : |
126- #python3 tools/bin/run-clang-tidy.py -quiet -export-fixes=build/clang-tidy-fix.yaml -p build -extra-arg=-Wno-unknown-warning-option -extra-arg=-fsized-deallocation -header-filter=$(pwd)'/(include|src|bench)/.*\.(h|hh)$' $(pwd)'/(src|bench)/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
127- python3 tools/bin/run-clang-tidy.py -quiet -export-fixes=build/clang-tidy-fix.yaml -p build -extra-arg=-Wno-unknown-warning-option -extra-arg=-fsized-deallocation -header-filter=$(pwd)'/(include|src)/.*\.(h|hh)$' $(pwd)'/src/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
137+ #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 -extra-arg=-fsized-deallocation -header-filter=$(pwd)'/(include|src|bench)/.*\.(h|hh)$' $(pwd)'/(src|bench)/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
138+ 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 -extra-arg=-fsized-deallocation -header-filter=$(pwd)'/(include|src)/.*\.(h|hh)$' $(pwd)'/src/.*' 2>&1 | awk '!a[$0]++{print > "build/clang-tidy.log"}'
128139
129140 - name : Doxygen
130141 run : |
You can’t perform that action at this time.
0 commit comments