2020-01-18 19:29:26 -05:00
|
|
|
version: 2.1
|
2018-04-18 03:55:53 -04:00
|
|
|
jobs:
|
|
|
|
build:
|
2020-01-18 19:29:26 -05:00
|
|
|
parallelism: 1
|
2021-02-09 17:05:14 -05:00
|
|
|
machine:
|
|
|
|
- image: ubuntu-2004:202101-01
|
2020-01-18 19:29:26 -05:00
|
|
|
working_directory: ~/xiph/ezstream
|
|
|
|
shell: /bin/bash --login
|
2018-04-18 03:55:53 -04:00
|
|
|
steps:
|
|
|
|
- checkout
|
2020-01-27 10:30:24 -05:00
|
|
|
- run: sudo apt-get install gettext lcov check libshout-dev libtagc0-dev libxml2-dev
|
2018-04-18 03:55:53 -04:00
|
|
|
- run: ./autogen.sh
|
|
|
|
- run: ./configure
|
|
|
|
- run: make distcheck distclean
|
|
|
|
- run: ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all'
|
|
|
|
- run: make check
|
|
|
|
- run: mkdir coverage
|
|
|
|
- run: lcov --capture --output-file coverage/ezstream.lcov --rc lcov_branch_coverage=1 --directory src --test-name ezstream
|
|
|
|
- run: make distclean
|
|
|
|
- run: bash <(curl -s https://codecov.io/bash)
|