Skip to content

Commit

Permalink
enable: Jenkins/gitlab-ci
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <[email protected]>
  • Loading branch information
RobertCNelson committed Mar 20, 2023
1 parent ee82267 commit 861ce64
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: beagleboard # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: beagleboard # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://paypal.me/beagleboard # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Describe how to reproduce the bug**
List all the steps needed to reproduce the bug

**REQUIRED INFORMATION**
Run this command and paste the output here:
```
sudo /opt/scripts/tools/version.sh
```
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
image: robertcnelson/debian-bullseye-slim-linux-compile:latest

build:
tags:
- docker-amd64
stage: build
script:
- ./jenkins_build.sh
artifacts:
expire_in: 2 weeks
name: "$CI_PROJECT_NAME-$CI_COMMIT_BRANCH-$CI_JOB_ID"
paths:
- "linux-image*.deb"
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pipeline {
agent { label 'amd64'}

stages {
stage('Build') {
steps {
sh '/bin/bash ./jenkins_build.sh'
}
}
}
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gitlab CI

| kernel | normal |
|:---:|:---:|
|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) |
15 changes: 15 additions & 0 deletions jenkins_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

#git clone -b 5.10-arm64 https://github.com/beagleboard/linux --depth=10
#cd ./linux

CORES=$(getconf _NPROCESSORS_ONLN)

export CC=/usr/bin/aarch64-linux-gnu-

make ARCH=arm64 CROSS_COMPILE=${CC} clean
make ARCH=arm64 CROSS_COMPILE=${CC} bb.org_defconfig

echo "make -j${CORES} ARCH=arm64 KBUILD_DEBARCH=arm64 CROSS_COMPILE=${CC} bindeb-pkg"
make -j${CORES} ARCH=arm64 KBUILD_DEBARCH=arm64 KDEB_PKGVERSION=1xross CROSS_COMPILE=${CC} bindeb-pkg
mv ../*.deb ./

0 comments on commit 861ce64

Please sign in to comment.