File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,30 +57,17 @@ jobs:
5757 zip \
5858 zstd
5959
60- - name : Restore ccache
61- uses : actions/cache@v4
62- with :
63- path : ~/.ccache
64- key : kernel-out-Linux-${{ matrix.model }}-v1
65- restore-keys : |
66- kernel-out-Linux-${{ matrix.model }}-
67-
6860 - name : Restore kernel build output
6961 uses : actions/cache@v4
7062 with :
7163 path : |
7264 out
73- toolchain/neutron_18
7465 key : kernel-out-Linux-${{ matrix.model }}-v1
7566 restore-keys : |
7667 kernel-out-Linux-${{ matrix.model }}-
7768
7869 - name : Build kernel
7970 run : |
80- echo "cache-hit=${{ steps.cache-build.outputs.cache-hit }}"
81- pwd
82- ls -la $GITHUB_WORKSPACE/out || true
83- ls -la $GITHUB_WORKSPACE/toolchain/neutron_18 || true
8471 ls -la out || true
8572 ls -la toolchain/neutron_18 || true
8673 chmod +x build.sh
Original file line number Diff line number Diff line change @@ -50,18 +50,6 @@ CORES=`cat /proc/cpuinfo | grep -c processor`
5050CLANG_DIR=$PWD /toolchain/neutron_18
5151PATH=$CLANG_DIR /bin:$PATH
5252
53- # Enable ccache if available
54- if command -v ccache >/dev/null 2>&1; then
55- echo " -----------------------------------------------"
56- echo " Using ccache for compilation"
57- echo " -----------------------------------------------"
58-
59- export CCACHE_DIR=" ${CCACHE_DIR:- $PWD / .ccache} "
60- export CCACHE_COMPRESS=" ${CCACHE_COMPRESS:- 1} "
61- export CCACHE_COMPRESSLEVEL=" ${CCACHE_COMPRESSLEVEL:- 5} "
62- export CCACHE_MAXSIZE=" ${CCACHE_MAXSIZE:- 10G} "
63- fi
64-
6553# Check if toolchain exists
6654if [ ! -f " $CLANG_DIR /bin/clang-18" ]; then
6755 echo " -----------------------------------------------"
You can’t perform that action at this time.
0 commit comments