travis: run build-tools.sh with CMAKE_BUILD_TYPE=Release

For some reason gcc prints more warnings this way and of course CI is
meant to catch warnings as soon as possible.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2020-09-15 04:28:28 +00:00 committed by Liam Girdwood
parent 2b9206231c
commit 7072eb4447
1 changed files with 2 additions and 2 deletions

View File

@ -38,9 +38,9 @@ jobs:
- <<: *build-platform
env: PLATFORM='tgl'
- name: "./scripts/build-tools.sh"
- name: "./scripts/build-tools.sh Release"
before_install: *docker-pull-sof
script: ./scripts/docker-run.sh ./scripts/build-tools.sh
script: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh ./scripts/build-tools.sh
- name: "./scripts/host-build-all.sh"
before_install: *docker-pull-sof