Commit 6229de5 1 parent 89b63fa commit 6229de5 Copy full SHA for 6229de5
File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 35
35
clang-14 llvm-14 \
36
36
git \
37
37
clang \
38
+ ccache \
38
39
llvm \
39
40
pkg-config \
40
41
autoconf \
@@ -73,11 +74,18 @@ jobs:
73
74
run : |
74
75
sudo apt install -y --no-install-recommends linux-headers-$(uname -r) gcc-multilib g++-multilib
75
76
77
+ - name : Run sccache-cache
78
+ uses :
mozilla-actions/[email protected]
79
+
76
80
- name : Build e2e tests 🏗️
81
+ env :
82
+ SCCACHE_GHA_ENABLED : " true"
77
83
run : |
78
84
mkdir -p build
79
85
cd build && \
80
86
cmake \
87
+ -DCMAKE_C_COMPILER_LAUNCHER=sccache \
88
+ -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
81
89
-DBUILD_BPF=ON \
82
90
-DUSE_BUNDLED_DEPS=ON \
83
91
-DUSE_ASAN=ON \
97
105
id : cache
98
106
with :
99
107
path : build
100
- key : build-${{ matrix.arch }}-${{ github.run_id }}
108
+ key : build-e2e- ${{ matrix.arch }}-${{ github.run_id }}
101
109
102
110
test-e2e :
103
111
name : test-e2e-${{ matrix.arch }}-${{ matrix.driver.name }} 😇 (bundled_deps)
@@ -114,8 +122,8 @@ jobs:
114
122
uses : actions/cache/restore@v3
115
123
with :
116
124
path : build
117
- key : build-${{ matrix.arch }}-${{ github.run_id }}
118
- restore-keys : build-
125
+ key : build-e2e- ${{ matrix.arch }}-${{ github.run_id }}
126
+ restore-keys : build-e2e-
119
127
120
128
- name : Fix kernel mmap rnd bits
121
129
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
You can’t perform that action at this time.
0 commit comments