Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: x86_64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: centos:7
options: --cpus 8
steps:
- name: Point yum to vault
run: |
sed -e '/mirrorlist=.*/d' \
-e 's/#baseurl=/baseurl=/' \
-e "s/\$releasever/7.9.2009/g" \
-e "s/mirror.centos.org/dl.rockylinux.org\/vault/g" \
-i /etc/yum.repos.d/CentOS-Base.repo

- name: Install tools and Libraries
run: |
yum groupinstall 'Development Tools' -y
yum install bc dwarves git glibc-devel hostname kernel-devel mpfr openssl openssl-devel elfutils-libelf-devel -y

- name: Checkout code
run: |
git clone --branch ${{ github.head_ref }} "https://oauth2:[email protected]/ctrliq/kernel-src-tree"

- name: Build the Kernel
working-directory: kernel-src-tree
run: |
cp configs/kernel-3.10.0-x86_64.config .config
make olddefconfig
make -j8