Skip to content

Commit

Permalink
travis: run build-tools.sh with CMAKE_BUILD_TYPE=Release
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
marc-hb authored and lgirdwood committed Sep 16, 2020
1 parent 2b92062 commit 7072eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7072eb4

Please sign in to comment.