Skip to content

Commit

Permalink
add gitlab ci
Browse files Browse the repository at this point in the history
  • Loading branch information
famz committed May 10, 2020
1 parent ef3aa17 commit 53451a8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
build:
image: ubuntu:18.04
before_script:
- sed -i "s/^# deb-src/deb-src/g" /etc/apt/sources.list
- apt-get update -y
- apt build-dep -y linux-image-5.3.0-51-generic
- apt-get install -y bison flex libssl-dev libelf-dev fakeroot bc rsync cpio kmod openssl
script:
- cp config .config
- echo "Started building..."
- time make bindeb-pkg -j$(nproc) >/dev/null
- mkdir -p deb
- cp ../*.deb deb
artifacts:
paths:
- deb
expire_in: 1 year

0 comments on commit 53451a8

Please sign in to comment.