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+ ---
2+ name : AmateurCI
3+
4+ on :
5+ push :
6+ branches : ['amateur-merge-tree']
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ name : " Build"
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v6
15+ with :
16+ submodules : recursive
17+
18+ - name : Restore ccache
19+ uses : actions/cache/restore@v4
20+ with :
21+ path : /tmp/ccache
22+ key : ccache-${{ github.sha }}
23+ restore-keys : |
24+ ccache-
25+
26+ - name : Build
27+ run : |
28+ docker run --rm -v $PWD:/ClickHouse -v /tmp/ccache:/tmp/ccache clickhouse/fasttest:b63954f8a1b316d0686e \
29+ /bin/bash -c "
30+ set -e
31+ apt-get update && apt-get install -y ccache
32+ export CC=clang-21
33+ export CXX=clang++-21
34+ export CCACHE_DIR=/tmp/ccache
35+ cd /ClickHouse/
36+ cmake -DCOMPILER_CACHE=ccache -DCMAKE_BUILD_TYPE=Debug -DENABLE_LIBRARIES=0 -DENABLE_UTILS=0 -DENABLE_TESTS=0 -DENABLE_RUST=0 -DENABLE_YAML_CPP=1 -G Ninja -S . -B build
37+ ninja -C build
38+ ccache --show-stats
39+ "
40+
41+ - name : Save ccache
42+ if : github.ref_name == 'amateur-merge-tree'
43+ uses : actions/cache/save@v4
44+ with :
45+ path : /tmp/ccache
46+ key : ccache-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments