-
Notifications
You must be signed in to change notification settings - Fork 189
52 lines (48 loc) · 1.3 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
name: Code Coverage
on:
push:
pull_request:
branches: [ master ]
env:
MAKEFLAGS: -j8
jobs:
coverage:
if: github.repository_owner == 'arkq'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
uses: ./.github/actions/apt-install-deps
- 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 \
--enable-aac \
--enable-aptx \
--enable-aptx-hd \
--with-libopenaptx \
--enable-faststream \
--enable-lc3-swb \
--enable-midi \
--enable-mp3lame \
--enable-mpg123 \
--enable-msbc \
--enable-ofono \
--enable-opus \
--enable-upower \
--enable-aplay \
--enable-ctl \
--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@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/lcov.info