Skip to content

Commit e45dada

Browse files
PlaidCatbmastbergen
authored andcommitted
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 to pull_request. 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. Also disable the process-pull-request until the `utf-8` situation is resolved.
1 parent e0a3593 commit e45dada

File tree

4 files changed

+5
-118
lines changed

4 files changed

+5
-118
lines changed

.github/workflows/push-check_x86_64.yml renamed to .github/workflows/build-check_x86_64.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: CI
1+
name: x86_64 CI
22
on:
3-
push:
3+
pull_request:
44
branches:
55
- '**'
66
- '!mainline'
@@ -24,10 +24,11 @@ jobs:
2424
- name: Checkout code
2525
uses: actions/checkout@v4
2626
with:
27+
ref: "${{ github.event.pull_request.head.sha }}"
2728
fetch-depth: 0
2829
- name: Build the Kernel
2930
run: |
30-
git config --global --add safe.directory /__w/kernel-src-git/kernel-src-git
31-
cp configs/kernel-4.18.0-x86_64.config .config
31+
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
32+
cp configs/kernel-rt-4.18.0-x86_64.config .config
3233
make olddefconfig
3334
make -j8

.github/workflows/github-actions-demo.yml

-26
This file was deleted.

.github/workflows/process-pull-request.yml

-55
This file was deleted.

.github/workflows/push-check_aarch64.yml

-33
This file was deleted.

0 commit comments

Comments
 (0)