Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
6706 revisions left to test after this (roughly 13 steps)
  • Loading branch information
carlfriedrich committed Feb 5, 2024
1 parent e091d3b commit c65ac7b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,23 @@ jobs:
- name: Get kernel config from tag "linux-msft-5.4.91"
run: git show linux-msft-5.4.91:Microsoft/config-wsl > .config

- name: Determine kernel version
uses: addnab/docker-run-action@v3
with:
image: carlfriedrich/wsl-kernel-build:latest
options: |
-v ${{ github.workspace }}:/src
-u $(id -u ${USER}):$(id -g ${USER})
--hostname wsl-kernel-build
run: bash -c "make -C WSL2-Linux-Kernel CONFIG_LOCALVERSION_AUTO=y KCONFIG_CONFIG=.config prepare && cd WSL2-Linux-Kernel && CONFIG_LOCALVERSION_AUTO=y scripts/setlocalversion"

- name: Build kernel
uses: addnab/docker-run-action@v3
with:
image: carlfriedrich/wsl-kernel-build:latest
options: |
-v ${{ github.workspace }}:/src
-u $(id -u ${USER}):$(id -g ${USER})
--hostname wsl-kernel-build
run: bash -c "make -j 32 -C WSL2-Linux-Kernel CONFIG_LOCALVERSION_AUTO=y KCONFIG_CONFIG=.config"

Expand Down
2 changes: 1 addition & 1 deletion WSL2-Linux-Kernel

0 comments on commit c65ac7b

Please sign in to comment.