-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github actions: Make builds on Merge Request
Since we need to make sure external contributors code actually compiles prior to merging. To get access to the forked repos merge request we need to switch over our push/pull_request to pull_request_target. In addition we're fixing up some Naming Conventions, adding aarch64 to this branch and fixing the naming so that we can quickly identify if the CI is for x86_64 or aarch64. Also disable the process-pull-request until the `utf-8` situation is resolved.
- Loading branch information
Showing
3 changed files
with
38 additions
and
59 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,34 @@ | ||
name: aarch64 CI | ||
on: | ||
pull_request_target: | ||
branches: | ||
- '**' | ||
- '!mainline' | ||
|
||
jobs: | ||
kernel-build-job: | ||
runs-on: | ||
labels: kernel-build-arm64 | ||
container: | ||
image: rockylinux:8 | ||
env: | ||
ROCKY_ENV: rocky8 | ||
ports: | ||
- 80 | ||
options: --cpus 8 | ||
steps: | ||
- name: Install tools and Libraries | ||
run: | | ||
dnf groupinstall 'Development Tools' -y | ||
dnf install --enablerepo=devel bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: "${{ github.event.pull_request.head.sha }}" | ||
fetch-depth: 0 | ||
- name: Build the Kernel | ||
run: | | ||
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree | ||
cp configs/kernel-4.18.0-aarch64.config .config | ||
make olddefconfig | ||
make -j8 |
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
This file was deleted.
Oops, something went wrong.