diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a5a4286..b2124f3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,14 +17,16 @@ jobs: fail-fast: false matrix: include: - - os: "ubuntu-18.04" - python-version: "3.6" - os: "ubuntu-20.04" python-version: "3.8" - - os: "ubuntu-latest" - python-version: "3.11" - - os: "macos-latest" + - os: "ubuntu-22.04" + python-version: "3.12" + - os: "ubuntu-24.04" + python-version: "3.12" + - os: "macos-12" python-version: "3.11" + - os: "macos-14" + python-version: "3.12" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -34,22 +36,23 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'pip' - - name: Install dependencies Ubuntu - if: ${{ contains(matrix.os,'ubuntu') }} + - name: Install Python Dependencies run: | python -m pip install --upgrade pip python -m pip install flake8 pytest python -m pip install -r requirements.txt + + - name: Install ffmpeg on Ubuntu + if: ${{ contains(matrix.os,'ubuntu') }} + run: | sudo apt-get update -y sudo apt-get install -y libavcodec-dev libavutil-dev libswscale-dev - - name: Install dependencies OS X + - name: Install ffmpeg on OS X if: ${{ contains(matrix.os,'macos') }} run: | - python -m pip install --upgrade pip - python -m pip install flake8 pytest - python -m pip install -r requirements.txt - brew install ffmpeg@5 cmake + brew update + brew install ffmpeg cmake - name: Build And Install run: |