Skip to content

Commit 00dc773

Browse files
committed
.github: build kernel ahead of time to see how long it takes
build kernel ahead of time to see how long it takes. Signed-off-by: Marc Herbert <[email protected]>
1 parent 0ba61b4 commit 00dc773

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,14 @@ jobs:
153153
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
154154
fi
155155
156-
- name: build
156+
# run_qemu.sh already does this but separating it lets us see how long it takes
157+
- name: build kernel
158+
run: |
159+
ccache --show-stats
160+
cd kernel
161+
PATH=/usr/lib/ccache:"$PATH" make -j $(nproc)
162+
163+
- name: run_qemu.sh
157164
run: |
158165
set -x
159166
mkosi --version

0 commit comments

Comments
 (0)