Skip to content

Merge pull request #427 from dwbuiten/cleanups #4

Merge pull request #427 from dwbuiten/cleanups

Merge pull request #427 from dwbuiten/cleanups #4

Workflow file for this run

name: Make Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
cc: [gcc, clang]
exclude:
- os: macos-latest
cc: gcc
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: install deps (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install autoconf automake wget ffmpeg libavformat-dev libavcodec-dev libswscale-dev libavutil-dev libswresample-dev
- name: install deps (macOS)
if: matrix.os == 'macos-latest'
run: |
brew update
brew install autoconf automake wget ffmpeg
- name: configure
run: ./autogen.sh --enable-static --disable-shared
- name: make
run: make V=1 CXXFLAGS='-Werror -Wno-error=deprecated-declarations' -j2 -k
- name: make test
run: |
make test-sync
make test -j2 -k