mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
version: 2.1
|
|
jobs:
|
|
build:
|
|
environment:
|
|
# - CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
|
|
- CIRCLE_TEST_RESULTS: /tmp/circleci-test-results
|
|
parallelism: 1
|
|
docker:
|
|
- image: circleci/buildpack-deps:latest
|
|
working_directory: ~/xiph/ezstream
|
|
shell: /bin/bash --login
|
|
steps:
|
|
- checkout
|
|
# - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_RESULTS
|
|
- run: mkdir -p $CIRCLE_TEST_RESULTS
|
|
- run: sudo apt-get install lcov check libshout-dev libtagc0-dev libxml2-dev
|
|
- 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)
|
|
- store_test_results:
|
|
path: /tmp/circleci-test-results
|
|
# - store_artifacts:
|
|
# path: /tmp/circleci-artifacts
|