-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 914 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
name: C/C++ CI
on:
push:
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 autotools-dev autoconf libtool \
libmagick++-6.q16-dev \
libexiv2-dev \
libavformat-dev libavutil-dev libavcodec-dev libavfilter-dev \
libffmpegthumbnailer-dev
- name: build local dependency - sampleICC
run: |
gzip -d < contrib/SampleICC-1.6.8.tar.gz | tar xf -
cd SampleICC-1.6.8
./bootstrap
autoreconf --install
autoconf
./configure --prefix=/usr --disable-shared --enable-static
sudo make install
cd $OLDPWD
- name: configure, build
run: |
autoreconf --install
autoconf
./configure
make