Skip to content

Commit

Permalink
[wsl2] Update kernel config [sync git]
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <[email protected]>
  • Loading branch information
khs1994 committed Aug 24, 2023
1 parent 7944c07 commit 1571e33
Show file tree
Hide file tree
Showing 4 changed files with 4,206 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/sync-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,14 @@ jobs:
# PCIT_MESSAGE: Sync from khs1994-docker/lnmp@${{github.sha}} by PCIT
PCIT_TARGET_BRANCH: master
# PCIT_USERNAME: khs1994
- name: sync-wsl2-kernel
uses: docker://pcit/pages
env:
# PCIT_EMAIL: [email protected]
# PCIT_GIT_TOKEN: ${{ secrets.PCIT_GIT_TOKEN }}
PCIT_GIT_URL: github.com/khs1994/WSL2-Linux-Kernel
# PCIT_KEEP_HISTORY: "true"
PCIT_LOCAL_DIR: wsl2/kernel
# PCIT_MESSAGE: Sync from khs1994-docker/lnmp@${{github.sha}} by PCIT
PCIT_TARGET_BRANCH: master
# PCIT_USERNAME: khs1994
13 changes: 10 additions & 3 deletions wsl2/kernel/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
strategy:
matrix:
repo: ["microsoft/WSL2-Linux-Kernel","torvalds/linux"]
ref: ["master","linux-msft-wsl-5.15.y"]
ref: ["master","linux-msft-wsl-5.15.y","linux-msft-wsl-6.1.y"]
exclude:
- repo: "torvalds/linux"
ref: "linux-msft-wsl-5.15.y"
- repo: "torvalds/linux"
ref: "linux-msft-wsl-6.1.y"
- repo: microsoft/WSL2-Linux-Kernel
ref: master
fail-fast: false
Expand Down Expand Up @@ -49,9 +51,14 @@ jobs:

mkdir -p Microsoft/

if [ $ref = "linux-msft-wsl-5.15.y" -o $ref = "master" ];then
if [ $ref = "master" -o $ref = "linux-msft-wsl-6.1.y" ];then
curl -fsSL -o Microsoft/config-wsl \
https://github.com/khs1994/WSL2-Linux-Kernel/raw/master/config-wsl-6.1
fi

if [ $ref = "linux-msft-wsl-5.15.y" ];then
curl -fsSL -o Microsoft/config-wsl \
https://github.com/khs1994/WSL2-Linux-Kernel/raw/master/config-wsl-5.10
https://github.com/khs1994/WSL2-Linux-Kernel/raw/master/config-wsl-5.15
fi

echo "
Expand Down
Loading

0 comments on commit 1571e33

Please sign in to comment.