Skip to content

Commit

Permalink
github actions: Make Builds on Merge Request Work
Browse files Browse the repository at this point in the history
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.

Removes pull request checker it is being rewritten and doesn't work as
intented for fork merges.
  • Loading branch information
PlaidCat committed Jan 16, 2025
1 parent 91c4eb5 commit 656080e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: aarch64 CI
on:
push:
branches:
Expand All @@ -24,10 +24,11 @@ jobs:
- 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-git/kernel-src-git
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-5.14.0-aarch64.config .config
make olddefconfig
make -j8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: x86_64 CI
on:
push:
branches:
Expand All @@ -24,10 +24,11 @@ jobs:
- 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-git/kernel-src-git
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-5.14.0-x86_64.config .config
make olddefconfig
make -j8
54 changes: 0 additions & 54 deletions .github/workflows/process-pull-request.yml

This file was deleted.

0 comments on commit 656080e

Please sign in to comment.