-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 920 Bytes
/
ubuntu.yml
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
name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -yq \
build-essential clang clang-tools autotools-dev autoconf libtool \
libgpod-dev \
libglib2.0-dev \
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \
libjson-c-dev
- name: configure prep
run: |
autoreconf --install
autoconf
- name: build default
run: |
./configure && make
- name: build with sqlite3
run: |
sudo apt-get install -yq libsqlite3-dev
./configure && make clean && make
- name: build with debug
run: |
make clean
./configure --enable-debug && make