8
This commit is contained in:
29
.github/workflows/build-8.yml
vendored
Normal file
29
.github/workflows/build-8.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Build kernel deb packages(8)
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build kernel
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
# 由于默认的 Ubuntu 环境只有 17G 左右的剩余空间,所以我们需要先利用如下 action 对编译环境进行扩容
|
||||||
|
- name: Maximize build space
|
||||||
|
uses: easimon/maximize-build-space@master
|
||||||
|
with:
|
||||||
|
# 这个值是保留给系统的空间大小,之前设置太小,总会在安装依赖或者编译过程中报设备空间不足的错误而导致编译失败
|
||||||
|
root-reserve-mb: 4096
|
||||||
|
swap-size-mb: 512
|
||||||
|
remove-dotnet: 'true'
|
||||||
|
remove-android: 'true'
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
env:
|
||||||
|
PASSWORD: ${{ secrets.PASSWORD }}
|
||||||
|
run: bash build_action.sh 8
|
||||||
@@ -36,6 +36,10 @@ if [[ $2 == 1 ]]; then
|
|||||||
else
|
else
|
||||||
cp ../config .config
|
cp ../config .config
|
||||||
fi
|
fi
|
||||||
|
echo $VERSION | grep 4.14
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
cp ../config-4.19.0-10-amd64 .config
|
||||||
|
fi
|
||||||
#
|
#
|
||||||
# disable DEBUG_INFO to speedup build
|
# disable DEBUG_INFO to speedup build
|
||||||
scripts/config --disable DEBUG_INFO
|
scripts/config --disable DEBUG_INFO
|
||||||
|
|||||||
8636
config-4.19.0-10-amd64
Normal file
8636
config-4.19.0-10-amd64
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user