forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEBUG]CI: Travis: Enable Travis CI for linux kernel
Add checkpatch for pull-request only. Build x86_64 kernel with kconfig sof base config. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
language: c | ||
|
||
git: | ||
depth: false | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install python-ply python-git libelf-dev codespell | ||
- git clone https://github.com/thesofproject/kconfig.git | ||
|
||
jobs: | ||
include: | ||
- if: type = pull_request | ||
name: checkpatch | ||
script: scripts/checkpatch.pl --strict --codespell -g $TRAVIS_COMMIT_RANGE | ||
- name: "BUILD SOF Kernel x86_64" | ||
script: | ||
- export ARCH=x86_64 | ||
- make defconfig | ||
- scripts/kconfig/merge_config.sh .config kconfig/base-defconfig kconfig/sof-defconfig | ||
- echo `getconf _NPROCESSORS_ONLN` | ||
- make -j`getconf _NPROCESSORS_ONLN` | ||
- name: "BUILD SST Kernel x86_64" | ||
script: | ||
- export ARCH=x86_64 | ||
- make defconfig | ||
- scripts/kconfig/merge_config.sh .config kconfig/base-defconfig kconfig/sst-defconfig | ||
- echo `getconf _NPROCESSORS_ONLN` | ||
- make -j`getconf _NPROCESSORS_ONLN` |