File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1818 run : |
1919 sudo apt-get update
2020 sudo apt-get upgrade -y
21- sudo apt install -y zstd
21+ sudo apt install zstd tree -y
2222 - name : Maximize build space
2323 uses : easimon/maximize-build-space@master
2424 with :
4444 - name : prepare artifact
4545 run : |
4646 cd ${{ github.workspace }}
47- sudo tar cvf - linux-${{ matrix.version }} | zstd - -o linux-${{ matrix.version }}.tar.zst
47+ sudo du -h --max-depth=1
48+ tree .
49+ VMLINUX_PATH="$(find . -name *vmlinux)"
50+ BZIMAGE_PATH="$(find . -name *bzImage)"
51+ KO_PATH="$(find . -name *.ko)"
52+ CONFIG_PATH="$(find . -name *.config)"
53+ tar -cvf - $VMLINUX_PATH $BZIMAGE_PATH $KO_PATH $CONFIG_PATH | zstd - -o linux-${{ matrix.version }}.tar.zst
4854
4955 - name : Artifact
5056 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ VMLINUX_PATH=" $( find . -name * vmlinux) "
3+ BZIMAGE_PATH=" $( find . -name * bzImage) "
4+ KO_PATH=" $( find . -name * ko) "
5+ CONFIG_PATH=" $( find . -name * .config) "
6+ tar cvf - $VMLINUX_PATH $BZIMAGE_PATH $KO_PATH $CONFIG_PATH | zstd - -o linux-${{ matrix.version } }.tar.zst
Original file line number Diff line number Diff line change 11#! /bin/bash
2- sed -i " /CONFIG_KVM_WERROR/s/^/# /g" .config
2+ sed -i " /CONFIG_KVM_WERROR/s/=y/=n /g" .config
You can’t perform that action at this time.
0 commit comments