-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oracle Public Cloud User
committed
May 13, 2024
1 parent
f0e729a
commit 6586063
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: md-ci | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-kernel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure git | ||
run: | | ||
git config --global --add safe.directory '*' | ||
- name: Checkout git | ||
run: | | ||
sudo apt-get install -y libelf-dev | ||
mkdir -p linux | ||
cd linux | ||
git init | ||
git remote add origin https://github.com/${{ github.repository }} | ||
git fetch origin --depth=5 ${{ github.event.pull_request.head.sha }} | ||
git reset --hard ${{ github.event.pull_request.head.sha }} | ||
git log -1 | ||
- name: Run checks | ||
run: | | ||
cd linux | ||
make defconfig | ||
make -j 8 |