Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,20 @@
# yaml merge-expand .travis.yml exp.yml && diff -b -u .travis.yml exp.yml

language: c
dist: bionic
dist: focal

git:
depth: 20

before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y python-ply python-git libelf-dev codespell fakeroot gcc-9 g++-9 gcc-aarch64-linux-gnu
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9
- sudo apt-get install -y xz-utils lftp
- sudo apt-get install -y python-ply libelf-dev codespell fakeroot gcc-aarch64-linux-gnu xz-utils lftp

install:
- git clone --depth 5 https://github.com/thesofproject/kconfig.git
- pushd kconfig
- &short_log git --no-pager log --oneline --graph --decorate --max-count=5
- popd
- mkdir 0day
- wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O make.cross
- chmod +x make.cross
- mkdir -p $PWD/bin
- git clone --depth 1 --branch v0.6.2 git://git.kernel.org/pub/scm/devel/sparse/sparse.git
- BINDIR=$PWD/bin make -C sparse install
Expand Down Expand Up @@ -75,5 +69,5 @@ jobs:
- name: "BUILD CLANG SOF Kernel x86_64"
script:
- bash kconfig/kconfig-sof-default.sh
- COMPILER_INSTALL_PATH=$PWD/0day COMPILER=clang ./make.cross ARCH=x86_64 olddefconfig
- COMPILER_INSTALL_PATH=$PWD/0day COMPILER=clang ./make.cross ARCH=x86_64
- make CC=clang ARCH=x86_64 olddefconfig
- make CC=clang ARCH=x86_64