File tree Expand file tree Collapse file tree 5 files changed +3
-93
lines changed Expand file tree Collapse file tree 5 files changed +3
-93
lines changed Original file line number Diff line number Diff line change 5959 - uses : actions/checkout@v3
6060 with :
6161 fetch-depth : 0
62- - name : Restore submodules cache
63- uses : actions/cache/restore@v3
64- id : cache
65- with :
66- path : |
67- contrib/**
68- !contrib/*-cmake
69- !**/CMakeLists.txt
70- key : |
71- submodule-${{ hashFiles('.gitmodules') }}
72- - name : Update submodules if cache miss
73- if : steps.cache.outputs.cache-hit != 'true'
62+ - name : Update submodules
7463 run : |
7564 git submodule update --init --recursive --jobs 4
76- - name : Save submodules cache
77- if : steps.cache.outputs.cache-hit != 'true'
78- uses : actions/cache/save@v3
79- with :
80- path : |
81- contrib/**
82- !contrib/*-cmake
83- !**/CMakeLists.txt
84- key : |
85- submodule-${{ hashFiles('.gitmodules') }}
8665 - name : ccache
8766 uses :
hendrikmuhs/[email protected] 8867 with :
Original file line number Diff line number Diff line change 5959 - uses : actions/checkout@v3
6060 with :
6161 fetch-depth : 0
62- - name : Restore submodules cache
63- uses : actions/cache/restore@v3
64- id : cache
65- with :
66- path : |
67- contrib/**
68- key : |
69- submodule-${{ hashFiles('.gitmodules') }}
70- - name : Update submodules if cache miss
71- if : steps.cache.outputs.cache-hit != 'true'
62+ - name : Update submodules
7263 run : |
7364 git submodule update --init --recursive --jobs 4
74- - name : Save submodules cache
75- if : steps.cache.outputs.cache-hit != 'true'
76- uses : actions/cache/save@v3
77- with :
78- path : |
79- contrib/**
80- key : |
81- submodule-${{ hashFiles('.gitmodules') }}
8265 - name : ccache
8366 uses :
hendrikmuhs/[email protected] 8467 with :
Original file line number Diff line number Diff line change 5151 - uses : actions/checkout@v3
5252 with :
5353 fetch-depth : 0
54- - name : Restore submodules cache
55- uses : actions/cache/restore@v3
56- id : cache
57- with :
58- path : |
59- contrib/**
60- key : |
61- submodule-${{ hashFiles('.gitmodules') }}
62- - name : Update submodules if cache miss
63- if : steps.cache.outputs.cache-hit != 'true'
54+ - name : Update submodules
6455 run : |
6556 git submodule update --init --recursive --jobs 4
66- - name : Save submodules cache
67- if : steps.cache.outputs.cache-hit != 'true'
68- uses : actions/cache/save@v3
69- with :
70- path : |
71- contrib/**
72- key : |
73- submodule-${{ hashFiles('.gitmodules') }}
7457 - name : ccache
7558 uses :
hendrikmuhs/[email protected] 7659 with :
Original file line number Diff line number Diff line change 1818 mkdir -p /home/ubuntu/pr_runner/
1919 git clone https://github.com/chdb-io/chdb.git /home/ubuntu/pr_runner/chdb
2020 fi
21-
22- - name : Check for ccache status
23- run : |
24- ccache -sv
25-
26- - name : Copy submodules
27- run : cp -a /builder_cache/contrib /home/ubuntu/pr_runner/chdb/
2821
2922 - name : Cleanup and update chdb directory
3023 run : |
4639 python3 -m pip install flake8
4740 cd chdb && python3 -m flake8
4841 working-directory : /home/ubuntu/pr_runner/chdb
49-
50- - name : Cleanup dist directory
51- run : rm -rf /home/ubuntu/pr_runner/chdb/dist/*
52-
53- - name : Set PYTHON_VERSIONS environment variable
54- run : echo "PYTHON_VERSIONS=3.11" >> $GITHUB_ENV
55-
56- - name : Run build script
57- run : bash -x ./chdb/build_linux_arm64.sh
58- working-directory : /home/ubuntu/pr_runner/chdb
59-
60- - name : Check ccache statistics
61- run : |
62- ccache -s
63- ls -lh chdb
64- df -h
65- working-directory : /home/ubuntu/pr_runner/chdb
66-
67- - name : Audit wheels
68- run : |
69- export PYENV_ROOT="$HOME/.pyenv"
70- [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
71- eval "$(pyenv init -)"
72- pyenv local 3.11
73- ls -lh dist
74- python3 -m pip install auditwheel
75- python3 -m auditwheel -v repair -w dist/ --plat manylinux_2_17_aarch64 dist/*.whl
76- working-directory : /home/ubuntu/pr_runner/chdb
You can’t perform that action at this time.
0 commit comments