1- name : LTS Kernel CI
1+ name : Experimental Kernel CI
22
33on :
44 push :
55 tags :
6- - ' linux-wsl-lts -6.12.[0-9]+'
6+ - ' linux-wsl-exp -6.12.[0-9]+ .[0-9]+'
77
8- run-name : LTS Release Build ${{ github.ref_name }}
8+ run-name : Experimental Release Build ${{ github.ref_name }}
99
1010jobs :
1111 build :
@@ -31,16 +31,16 @@ jobs:
3131 steps :
3232 - name : Trust Build Directory
3333 run : |
34- git config --global --add safe.directory /__w/WSL2-Linux-Kernel-Rolling-LTS /WSL2-Linux-Kernel-Rolling-LTS
34+ git config --global --add safe.directory /__w/WSL2-Linux-Kernel-Rolling-EXP /WSL2-Linux-Kernel-Rolling-EXP
3535
3636 - name : Checkout
3737 uses : actions/checkout@main
3838
39- - name : Download WSL2 LTS Kernel
39+ - name : Download WSL2 Experimental Kernel
4040 run : |
41- git clone https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling-LTS .git --depth 1 -b ${{ github.ref_name }} linux
41+ git clone https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling-EXP .git --depth 1 -b ${{ github.ref_name }} linux
4242
43- - name : Build WSL2 LTS Kernel
43+ - name : Build WSL2 EXP Kernel
4444 run : |
4545 cd linux
4646 if [ ${{ matrix.arch }} == "x86" ]
@@ -57,13 +57,13 @@ jobs:
5757 cd linux
5858 IFS=- read -r var1 var2 var3 version <<< ${{ github.ref_name }}
5959 mkdir -p ${{ matrix.image-name }}-addon_install && make modules_install INSTALL_MOD_PATH=${{ matrix.image-name }}-addon_install
60- rm -rf ${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-LTS +/build
60+ rm -rf ${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP +/build
6161
6262 - name : Generate Kernel Headers and Documents
6363 run : |
6464 cd linux
6565 IFS=- read -r var1 var2 var3 version <<< ${{ github.ref_name }}
66- export addon_path=${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-LTS +/build
66+ export addon_path=${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP +/build
6767 mkdir -p $addon_path
6868 install -Dt "$addon_path" -m644 Makefile Module.symvers System.map vmlinux
6969 install -Dt "$addon_path/kernel" -m644 kernel/Makefile
@@ -137,7 +137,7 @@ jobs:
137137 strip -v $STRIP_STATIC "$addon_path/vmlinux"
138138 fi
139139 cp -r Documentation $addon_path/Documentation
140- rm -rf ${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-LTS +/build/${{ matrix.image-name }}-addon_install
140+ rm -rf ${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP +/build/${{ matrix.image-name }}-addon_install
141141
142142 - name : Download ZFS
143143 run : |
@@ -153,14 +153,14 @@ jobs:
153153 - name : Generate ZFS Kernel Module
154154 run : |
155155 IFS=- read -r var1 var2 var3 version <<< ${{ github.ref_name }}
156- mkdir -p linux/${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-LTS +/extra
157- find zfs/module -name "*.ko" -exec cp {} linux/${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-LTS +/extra \;
156+ mkdir -p linux/${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP +/extra
157+ find zfs/module -name "*.ko" -exec cp {} linux/${{ matrix.image-name }}-addon_install/lib/modules/$version-WSL2-EXP +/extra \;
158158
159159 - name : Generate Kernel Addon Package
160160 run : |
161161 IFS=- read -r var1 var2 var3 version <<< ${{ github.ref_name }}
162162 cd linux
163- sudo ./.github/scripts/gen_modules_vhdx.sh "$PWD/${{ matrix.image-name }}-addon_install/" "$version-WSL2-LTS +" ${{ matrix.image-name }}-addon.vhdx
163+ sudo ./.github/scripts/gen_modules_vhdx.sh "$PWD/${{ matrix.image-name }}-addon_install/" "$version-WSL2-EXP +" ${{ matrix.image-name }}-addon.vhdx
164164 mv ${{ matrix.image-name }}-addon.vhdx ../
165165
166166 - name : Generate SHA-256 Checksum
@@ -212,10 +212,8 @@ jobs:
212212 name : ${{ github.ref_name }}
213213 tag_name : ${{ github.ref_name }}
214214 body : |
215- > [!WARNING]
216- > ARM64 kernel has not been tested!
217- >
218- > If you have any issues, please leave an issue on the [issue tab](https://github.com/Nevuly/WSL2-Rolling-Kernel-Issue/issues)!
215+ > [!CAUTION]
216+ > **EXPERIMENTAL TEST ONLY RELEASE**
219217
220218 ### **Hash Information**
221219 | File Name | SHA-256 Checksum |
@@ -225,9 +223,6 @@ jobs:
225223 | Image-arm64 | ${{ env.ARM64_IMAGE_SHA }} |
226224 | Image-arm64-addon.vhdx | ${{ env.ARM64_ADDON_SHA }} |
227225
228- ### **How to install this kernel or kernel addon package in WSL2?**
229- - Please see this [wiki](https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling-LTS/wiki/Install-Instructions).
230-
231226 **This kernel built on ArchLinux.**
232227
233228 files : |
0 commit comments