diff --git a/.travis.yml b/.travis.yml index e7e6dfd17b2526..6ea00ce403dbeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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