Skip to content

Commit 986dbfa

Browse files
committed
[EXPERIMENTAL] gh-actions: Restrict to install tools/bpf/bpftool/vmlinux.h in only x86 architecture
Signed-off-by: Yang Jeong Hun <[email protected]>
1 parent 616c15b commit 986dbfa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ jobs:
6565
IFS=- read -r var1 var2 var3 version <<< ${{ github.ref_name }}
6666
export addon_path=${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP+/build
6767
mkdir -p $addon_path
68-
install -Dt "$addon_path" -m644 Makefile Module.symvers System.map vmlinux tools/bpf/bpftool/vmlinux.h
68+
install -Dt "$addon_path" -m644 Makefile Module.symvers System.map vmlinux
69+
if [ ${{ matrix.arch }} == "x86" ]
70+
then
71+
install -Dt "$addon_path" -m644 tools/bpf/bpftool/vmlinux.h
72+
fi
6973
install -Dt "$addon_path/kernel" -m644 kernel/Makefile
7074
if [ ${{ matrix.arch }} == "x86" ]
7175
then

0 commit comments

Comments
 (0)