Skip to content

Commit 90efc23

Browse files
committed
remove other cache
1 parent 62675d4 commit 90efc23

2 files changed

Lines changed: 0 additions & 25 deletions

File tree

.github/workflows/build-kernel.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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

build.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ CORES=`cat /proc/cpuinfo | grep -c processor`
5050
CLANG_DIR=$PWD/toolchain/neutron_18
5151
PATH=$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
6654
if [ ! -f "$CLANG_DIR/bin/clang-18" ]; then
6755
echo "-----------------------------------------------"

0 commit comments

Comments
 (0)