mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 14:12:06 +00:00
78325e4651
Try building with -O2 and -O3. Signed-off-by: Artem Savkov <asavkov@redhat.com>
19 lines
334 B
YAML
19 lines
334 B
YAML
language: c
|
|
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
|
|
- make check
|
|
- sudo make install
|