Skip to content

Commit 391385e

Browse files
committed
ci: cache for freebsd
1 parent b81686a commit 391385e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/freebsd/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runs:
2525
2626
kldload accf_http
2727
pkg install -y \
28+
ccache \
2829
autoconf \
2930
bison \
3031
gmake \
@@ -50,8 +51,13 @@ runs:
5051
curl \
5152
$OPCACHE_TLS_TESTS_DEPS
5253
54+
export CCACHE_DIR=$GITHUB_WORKSPACE/.ccache
55+
ccache --set-config=max_size=256M
56+
ccache --set-config=compression=true
57+
ccache -z
58+
5359
./buildconf -f
54-
CC=clang CXX=clang++ \
60+
CC="ccache clang" CXX="ccache clang++" \
5561
./configure \
5662
--prefix=/usr/local \
5763
--enable-debug \

0 commit comments

Comments
 (0)