mirror of https://github.com/dynup/kpatch
travis: build with different optimization levels
Try building with -O2 and -O3. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
25f12681fa
commit
78325e4651
|
@ -3,6 +3,14 @@ before_install:
|
|||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y libelf-dev linux-headers-$(uname -r) shellcheck elfutils
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- name: "Default"
|
||||
- name: "-O2"
|
||||
env: CFLAGS="-O2"
|
||||
- name: "-O3"
|
||||
env: CFLAGS="-O3"
|
||||
|
||||
script:
|
||||
- make
|
||||
- make unit
|
||||
|
|
Loading…
Reference in New Issue