1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

CircleCI config.yml (WIP)

This commit is contained in:
Moritz Grimm 2020-01-19 01:29:26 +01:00
parent 7e7b3be281
commit b9c2a3a748

View File

@ -1,37 +1,20 @@
version: 2 version: 2.1
jobs: jobs:
build: build:
working_directory: ~/xiph/ezstream
parallelism: 1
shell: /bin/bash --login
environment: environment:
# - CIRCLE_ARTIFACTS: /tmp/circleci-artifacts # - CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
- CIRCLE_TEST_RESULTS: /tmp/circleci-test-results - CIRCLE_TEST_RESULTS: /tmp/circleci-test-results
parallelism: 1
docker: docker:
- image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37 - image: circleci/buildpack-deps:latest
command: /sbin/init working_directory: ~/xiph/ezstream
shell: /bin/bash --login
steps: steps:
- checkout - checkout
# - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_RESULTS # - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_RESULTS
- run: mkdir -p $CIRCLE_TEST_RESULTS - run: mkdir -p $CIRCLE_TEST_RESULTS
- restore_cache:
keys:
- v1-dep-{{ .Branch }}-
- v1-dep-develop-
- v1-dep-
- run: sudo apt-get install lcov check libshout-dev libtagc0-dev libxml2-dev - run: sudo apt-get install lcov check libshout-dev libtagc0-dev libxml2-dev
- run: ./autogen.sh - run: ./autogen.sh
- save_cache:
key: v1-dep-{{ .Branch }}-{{ epoch }}
paths:
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- run: ./configure - run: ./configure
- run: make distcheck distclean - run: make distcheck distclean
- run: ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all' - run: ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all'