Skip to content

Commit ab8296d

Browse files
committed
enable: Jenkins/gitlab-ci
Signed-off-by: Robert Nelson <[email protected]>
1 parent 7486786 commit ab8296d

File tree

6 files changed

+76
-0
lines changed

6 files changed

+76
-0
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: beagleboard # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: beagleboard # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: https://paypal.me/beagleboard # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Describe how to reproduce the bug**
14+
List all the steps needed to reproduce the bug
15+
16+
**REQUIRED INFORMATION**
17+
Run this command and paste the output here:
18+
```
19+
sudo /opt/scripts/tools/version.sh
20+
```

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
image: robertcnelson/debian-bullseye-slim-linux-compile:latest
2+
3+
build:
4+
tags:
5+
- docker-amd64
6+
stage: build
7+
script:
8+
- ./jenkins_build.sh
9+
artifacts:
10+
expire_in: 2 weeks
11+
name: "$CI_PROJECT_NAME-$CI_COMMIT_BRANCH-$CI_JOB_ID"
12+
paths:
13+
- "linux-image*.deb"

Jenkinsfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pipeline {
2+
agent { label 'amd64'}
3+
4+
stages {
5+
stage('Build') {
6+
steps {
7+
sh '/bin/bash ./jenkins_build.sh'
8+
}
9+
}
10+
}
11+
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Gitlab CI
2+
3+
| kernel | normal |
4+
|:---:|:---:|
5+
|5.10 | [![pipeline status](https://git.beagleboard.org/beagleboard/linux/badges/5.10-arm64/pipeline.svg)](https://git.beagleboard.org/beagleboard/linux/-/commits/5.10-arm64) |

jenkins_build.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
#git clone -b 5.10-arm64 https://github.com/beagleboard/linux --depth=10
4+
#cd ./linux
5+
6+
CORES=$(getconf _NPROCESSORS_ONLN)
7+
8+
export CC=/usr/bin/aarch64-linux-gnu-
9+
10+
make ARCH=arm64 CROSS_COMPILE=${CC} clean
11+
make ARCH=arm64 CROSS_COMPILE=${CC} bb.org_defconfig
12+
13+
echo "make -j${CORES} ARCH=arm64 KBUILD_DEBARCH=arm64 CROSS_COMPILE=${CC} bindeb-pkg"
14+
make -j${CORES} ARCH=arm64 KBUILD_DEBARCH=arm64 KDEB_PKGVERSION=1xross CROSS_COMPILE=${CC} bindeb-pkg
15+
mv ../*.deb ./

0 commit comments

Comments
 (0)