forked from arkq/bluez-alsa
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (53 loc) · 1.41 KB
/
codecov-report.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Codecov - Upload Report
on:
push:
pull_request:
branches: [ master ]
jobs:
coverage:
if: github.repository_owner == 'arkq'
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
sudo apt update
sudo apt install --yes --quiet --no-install-recommends \
check \
lcov \
libasound2-dev \
libbluetooth-dev \
libdbus-1-dev \
libfdk-aac-dev \
libglib2.0-dev \
libmp3lame-dev \
libmpg123-dev \
libsbc-dev \
libspandsp-dev
- uses: actions/checkout@v3
- name: Create Build Environment
run: |
mkdir -p ${{ github.workspace }}/{build,m4}
autoreconf --install
- name: Configure GNU Automake
working-directory: ${{ github.workspace }}/build
run: |
${{ github.workspace }}/configure \
--disable-aplay \
--enable-aac \
--enable-faststream \
--enable-mp3lame \
--enable-mpg123 \
--enable-msbc \
--enable-ofono \
--enable-upower \
--enable-test \
--with-coverage
- name: Generate Coverage Report
working-directory: ${{ github.workspace }}/build
run: make cov
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: build/cov.info