mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-27 21:59:24 +01:00
33 lines
816 B
YAML
33 lines
816 B
YAML
image: alpine/edge
|
|
packages:
|
|
- gcc
|
|
- clang
|
|
- meson
|
|
- libdrm-dev
|
|
# Required by codecov
|
|
- gcovr
|
|
- bash
|
|
- findutils
|
|
sources:
|
|
- https://github.com/emersion/libliftoff
|
|
tasks:
|
|
- setup: |
|
|
cd libliftoff
|
|
CC=gcc meson build-gcc/ -Db_coverage=true
|
|
CC=clang meson build-clang/
|
|
- build-gcc: |
|
|
cd libliftoff
|
|
ninja -C build-gcc/
|
|
- build-clang: |
|
|
cd libliftoff
|
|
ninja -C build-clang/
|
|
- test-gcc: |
|
|
cd libliftoff
|
|
ninja -C build-gcc/ test
|
|
- test-clang: |
|
|
cd libliftoff
|
|
ninja -C build-clang/ test
|
|
- upload-coverage: |
|
|
cd libliftoff/build-gcc
|
|
export CODECOV_TOKEN=ea488296-5f33-439f-a8c1-dc88a5ae9753
|
|
curl -s https://codecov.io/bash | sed 's/-execdir $gcov_exe/-exec $gcov_exe/' | bash -s -- -g '*/example/*' -g '*/test/*'
|