Skip to content

Commit

Permalink
Mon Apr 15 08:37:26 UTC 2024 Kernel update
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 15, 2024
1 parent 7cfe0f5 commit 731a28d
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 24 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/CI-Linux-5.10-Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is a basic workflow to help you get started with Actions

name: CI-Build-Test-Linux-5.10

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "linux-5.10" ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
ref: linux-5.10

- name: Setup env
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu build-essential libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof

- name: Build Linux 5.10 Kernel Test
run: |
make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 sun55i_t527_bsp_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 -j$(nproc)
73 changes: 49 additions & 24 deletions .github/workflows/merge-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,30 @@ permissions:
contents: write

jobs:
# linux-5_10:
# runs-on: ubuntu-latest
# env:
# KERNEL_URL: https://cdn.kernel.org/pub/linux/kernel/v5.x/
# KERNEL_VERSION: linux-5.10.214
# KERNEL_BRANCH: linux-5.10
# steps:
# - uses: actions/checkout@v3
# - name: Set id
# run: |
# git config --global user.name "GitHub Actions"
# git config --global user.email "[email protected]"

# - name: Merge ${{env.KERNEL_BRANCH}}
# continue-on-error: true
# run: ./init.sh -u ${{env.KERNEL_URL}} -v ${{env.KERNEL_VERSION}} -b ${{env.KERNEL_BRANCH}}

# - name: Push changes ${{env.KERNEL_BRANCH}}
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.SY_PAT }}
# branch: ${{env.KERNEL_BRANCH}}
# directory: kernel/dst/${{env.KERNEL_BRANCH}}/${{env.KERNEL_BRANCH}}
# force: true
linux-5_10:
runs-on: ubuntu-latest
env:
KERNEL_URL: https://cdn.kernel.org/pub/linux/kernel/v5.x/
KERNEL_VERSION: linux-5.10.214
KERNEL_BRANCH: linux-5.10
steps:
- uses: actions/checkout@v3
- name: Set id
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Merge ${{env.KERNEL_BRANCH}}
continue-on-error: true
run: ./init.sh -u ${{env.KERNEL_URL}} -v ${{env.KERNEL_VERSION}} -b ${{env.KERNEL_BRANCH}}

- name: Push changes ${{env.KERNEL_BRANCH}}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.SY_PAT }}
branch: ${{env.KERNEL_BRANCH}}
directory: kernel/dst/${{env.KERNEL_BRANCH}}/${{env.KERNEL_BRANCH}}
force: true

linux-5_15:
runs-on: ubuntu-latest
Expand All @@ -59,3 +59,28 @@ jobs:
branch: ${{env.KERNEL_BRANCH}}
directory: kernel/dst/${{env.KERNEL_BRANCH}}/${{env.KERNEL_BRANCH}}
force: true

linux-6_1_aosp:
runs-on: ubuntu-latest
env:
KERNEL_URL: https://android.googlesource.com/kernel/common.git/+archive/refs/heads/
KERNEL_VERSION: android14-6.1-2023-10
KERNEL_BRANCH: linux-6.1-aosp
steps:
- uses: actions/checkout@v3
- name: Set id
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Merge ${{env.KERNEL_BRANCH}}
continue-on-error: true
run: ./init.sh -u ${{env.KERNEL_URL}} -v ${{env.KERNEL_VERSION}} -b ${{env.KERNEL_BRANCH}} -t AOSP

- name: Push changes ${{env.KERNEL_BRANCH}}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.SY_PAT }}
branch: ${{env.KERNEL_BRANCH}}
directory: kernel/dst/${{env.KERNEL_BRANCH}}/${{env.KERNEL_BRANCH}}
force: true

0 comments on commit 731a28d

Please sign in to comment.