Skip to content

Add a "loudest" album mode #2

Add a "loudest" album mode

Add a "loudest" album mode #2

Workflow file for this run

on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
ffmpeg-version: ["4.1", "4.2", "4.3", "4.4", "5.0", "master"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{runner.os}}
- uses: actions/cache@v2
with:
path: ~/.cache/ci/r128gain
key: ${{runner.os}}-ffmpeg-${{hashFiles('ci/build-minimal-ffmpeg')}}-${{matrix.ffmpeg-version}}
- run: |
sudo apt-get update -q
sudo apt-get install -q yasm sox
./ci/build-minimal-ffmpeg ${{matrix.ffmpeg-version}}
echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: |
pip install -U pip
pip install coveralls
pip install -r requirements.txt
- run: coverage run --source=r128gain setup.py test
- run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test-win:
runs-on: ubuntu-latest
container:
image: fedora:latest
strategy:
fail-fast: false
matrix:
bits: [32, 64]
steps:
- uses: actions/checkout@v2
# wine-core(x86-32) is needed in both cases because sox.exe is 32-bit
- run: sudo dnf --setopt=install_weak_deps=False install -y 'wine-core(x86-${{matrix.bits}})' 'wine-core(x86-32)' make git-core mingw${{matrix.bits}}-gcc yasm diffutils redhat-lsb-core p7zip-plugins
- run: make -C win all test
env:
DOWNLOAD_DIR: /home/runner/.cache/ci/r128gain/build
TEST_DL_CACHE_DIR: /home/runner/.cache/ci/r128gain/test
FFMPEG_CACHE_DIR: /home/runner/.cache/ci/r128gain/ffmpeg-win${{matrix.bits}}
FFMPEG_VERSION: "5.0"
WINEARCH: win${{matrix.bits}}