-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (49 loc) · 1.54 KB
/
ave.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
44
45
46
47
48
49
50
51
52
53
name: ave
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install nasm
run: |
sudo apt-get install nasm
- name: Install vpx
env:
VPX_TESTS: --disable-unit-tests --disable-examples
VPX_INSTALL: --disable-install-docs
run: |
git clone --depth 1 https://github.com/webmproject/libvpx.git
cd libvpx
./configure --enable-pic $VPX_TESTS $VPX_INSTALL --prefix=$HOME/vpx_dir
make -j12
make install
- name: Install aom
run: |
git clone --depth 1 https://aomedia.googlesource.com/aom
cd aom
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/aom_dir \
-DBUILD_SHARED_LIBS=1 \
-DENABLE_TESTS=0 \
-DENABLE_EXAMPLES=0 \
..
make -j12
make install
- name: Install opus
run: |
git clone https://github.com/xiph/opus.git
cd opus
./autogen.sh
./configure --prefix=$HOME/opus_dir
make -j12
make install
- name: Run tests
run: |
export PKG_CONFIG_PATH=$HOME/vpx_dir/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$HOME/aom_dir/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$HOME/aom_dir/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$HOME/opus_dir/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$HOME/opus_dir/lib:$LD_LIBRARY_PATH
cargo test --all-features --verbose