config.yml 703 Bytes
Newer Older
Moritz Grimm's avatar
Moritz Grimm committed
1
version: 2.1
2
3
jobs:
  build:
Moritz Grimm's avatar
Moritz Grimm committed
4
    parallelism: 1
5
6
    machine:
    - image: ubuntu-2004:202101-01
Moritz Grimm's avatar
Moritz Grimm committed
7
8
    working_directory: ~/xiph/ezstream
    shell: /bin/bash --login
9
10
    steps:
    - checkout
Moritz Grimm's avatar
Moritz Grimm committed
11
    - run: sudo apt-get install gettext lcov check libshout-dev libtagc0-dev libxml2-dev
12
13
14
15
16
17
18
19
20
    - 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)