Skip to content

Commit 47b9586

Browse files
committed
Add CI Integration
1 parent dca3042 commit 47b9586

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.drone.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
workspace:
2+
base: /kernel
3+
path: /linux-smaug
4+
pipeline:
5+
build:
6+
image: dvitali/pixelc-build-container:3
7+
commands:
8+
- if [ ! -d "linux" ]; then git clone -b $(cat BRANCH) --depth 1 https://github.com/pixelc-linux/linux linux; fi
9+
- if [ ! -d "pixelc-kernel-scripts" ]; then git clone https://github.com/pixelc-linux/pixelc-kernel-scripts.git; fi
10+
- if [ ! -d "pixelc-mkinitramfs.sh" ]; then git clone https://github.com/pixelc-linux/pixelc-mkinitramfs.sh.git; fi
11+
- cd pixelc-kernel-scripts
12+
- KERNEL_CROSS_PREFIX=$CROSS_COMPILE
13+
- ./defconfig.sh ../linux
14+
- ./build.sh ../linux
15+
- ./make_zimage.sh
16+
github_release:
17+
image: plugins/github-release
18+
secrets: [ github_token ]
19+
files: [ /kernel/linux-smaug/pixelc-kernel-scripts/output/Image.fit,
20+
/kernel/linux-smaug/pixelc-kernel-scripts/Image.lz4 ]
21+
when:
22+
event: tag

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
linux/
2+
pixelc-kernel-scripts/
3+
pixelc-mkinitramfs.sh/

BRANCH

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v4.17-rc5-smaug

0 commit comments

Comments
 (0)