2018-06-09 15:35:18 +08:00
|
|
|
language: c
|
2018-06-08 23:24:42 +08:00
|
|
|
os: linux
|
2018-06-09 15:35:18 +08:00
|
|
|
sudo: false
|
2018-06-08 23:24:42 +08:00
|
|
|
|
2018-06-09 15:35:18 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2019-07-04 17:37:54 +08:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2018-06-09 15:35:18 +08:00
|
|
|
packages:
|
|
|
|
- bison
|
|
|
|
- flex
|
|
|
|
- libelf-dev
|
|
|
|
- dpkg-dev
|
|
|
|
- debhelper
|
|
|
|
- dkms
|
|
|
|
- fakeroot
|
2019-07-04 17:54:57 +08:00
|
|
|
- gcc-8
|
2018-06-09 15:35:18 +08:00
|
|
|
|
|
|
|
env:
|
|
|
|
- KVER=4.4
|
|
|
|
- KVER=4.8
|
|
|
|
- KVER=4.9
|
|
|
|
- KVER=4.13
|
|
|
|
- KVER=4.14
|
|
|
|
- KVER=4.15
|
|
|
|
- KVER=4.16
|
|
|
|
- KVER=4.17
|
2019-07-04 17:54:57 +08:00
|
|
|
- KVER=5.0 && CC=gcc-8
|
|
|
|
- KVER=5.1 && CC=gcc-8
|
2019-10-29 19:12:20 +08:00
|
|
|
- KVER=5.2 && CC=gcc-8
|
|
|
|
- KVER=5.3 && CC=gcc-8
|
2019-07-04 17:54:57 +08:00
|
|
|
- KVER=master && CC=gcc-8
|
2018-06-09 15:35:18 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- env: KVER=master
|
|
|
|
include:
|
|
|
|
- script:
|
|
|
|
- dpkg-buildpackage -us -uc
|
|
|
|
env: KVER="Debian Package Building"
|
2018-06-08 23:24:42 +08:00
|
|
|
|
|
|
|
script:
|
2019-07-04 17:54:57 +08:00
|
|
|
- ./scripts/build-against-kernel.sh ${KVER} ${CC}
|