Prepare for release #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vpx | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install nasm | |
uses: ilammy/setup-nasm@v1 | |
- 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 | |
make install | |
- name: Run tests | |
run: | | |
export PKG_CONFIG_PATH=$HOME/vpx_dir/lib/pkgconfig:$PKG_CONFIG_PATH | |
cargo test --workspace --all-features | |
cargo test --workspace --no-default-features | |
cargo doc |