File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' build'
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - feature/*
8+ - hotfix/*
9+ pull_request : {}
10+ workflow_call : {}
11+
12+ jobs :
13+ build :
14+ name : Build
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ - name : Update
22+ run : |
23+ sudo apt-get update -yqq
24+ sudo apt-get install bc -yqq
25+ - name : Build Kernel
26+ run : |
27+ sudo bash build-kernel
28+ cp linux-msft-wsl-*/vmlinux .
29+ - name : Upload Kernel
30+ uses : actions/upload-artifact@v3
31+ with :
32+ name : vmlinux
33+ path : vmlinux
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ git_ver_fn()
295295git_ver_fn ' microsoft/WSL2-Linux-Kernel' ' 1' ' R'
296296if build ' wsl2-linux-kernel' " $g_ver " ; then
297297 download " $g_url " " $g_ver .tar.gz"
298- echo ' yes' | make KCONFIG_CONFIG=Microsoft /config-wsl -j " $cpu_cores "
298+ echo ' yes' | make KCONFIG_CONFIG=.. /config-wsl -j " $cpu_cores "
299299 build_done ' wsl2-linux-kernel' " $g_ver "
300300fi
301301
You can’t perform that action at this time.
0 commit comments