Skip to content

Commit

Permalink
Add CI Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
denysvitali committed May 15, 2018
1 parent dca3042 commit 47b9586
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
workspace:
base: /kernel
path: /linux-smaug
pipeline:
build:
image: dvitali/pixelc-build-container:3
commands:
- if [ ! -d "linux" ]; then git clone -b $(cat BRANCH) --depth 1 https://github.com/pixelc-linux/linux linux; fi
- if [ ! -d "pixelc-kernel-scripts" ]; then git clone https://github.com/pixelc-linux/pixelc-kernel-scripts.git; fi
- if [ ! -d "pixelc-mkinitramfs.sh" ]; then git clone https://github.com/pixelc-linux/pixelc-mkinitramfs.sh.git; fi
- cd pixelc-kernel-scripts
- KERNEL_CROSS_PREFIX=$CROSS_COMPILE
- ./defconfig.sh ../linux
- ./build.sh ../linux
- ./make_zimage.sh
github_release:
image: plugins/github-release
secrets: [ github_token ]
files: [ /kernel/linux-smaug/pixelc-kernel-scripts/output/Image.fit,
/kernel/linux-smaug/pixelc-kernel-scripts/Image.lz4 ]
when:
event: tag
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
linux/
pixelc-kernel-scripts/
pixelc-mkinitramfs.sh/
1 change: 1 addition & 0 deletions BRANCH
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v4.17-rc5-smaug

0 comments on commit 47b9586

Please sign in to comment.