Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
- os: ubuntu-latest
- os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
needs: windows_wheels_tests
Expand All @@ -143,8 +143,15 @@ jobs:
run: |
sudo apt update
sudo apt install -y ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev
sudo apt install -y libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0
sudo apt install -y libavutil-dev libswscale-dev libswresample-dev libsdl2-dev libsdl2-2.0-0
sudo apt install -y libsdl2-mixer-2.0-0 libsdl2-mixer-dev
# libpostproc-dev was removed in Ubuntu 26.04, so find a alternative
sudo apt install -y libpostproc-dev || sudo apt install -y python3-av python3-ffmpeg-progress-yield python3-ha-ffmpeg python3-imageio-ffmpeg
# python-ffmpeg-progress-yield-doc
# python3-av
# python3-ffmpeg-progress-yield
# python3-ha-ffmpeg
# python3-imageio-ffmpeg
python3 -m pip install pytest

root=`pwd`
Expand All @@ -164,7 +171,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
- os: ubuntu-latest
- os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
needs: linux_wheels
Expand Down Expand Up @@ -372,7 +379,7 @@ jobs:
pytest "$name/tests"

docs:
runs-on: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python 3.15
Expand All @@ -383,8 +390,9 @@ jobs:
run: |
sudo apt update
sudo apt install ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev
sudo apt install libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0
sudo apt install libavutil-dev libswscale-dev libswresample-dev libsdl2-dev libsdl2-2.0-0
sudo apt install libsdl2-mixer-2.0-0 libsdl2-mixer-dev
sudo apt install -y libpostproc-dev || true # Was removed in Ubuntu 26.04, so ignore errors

python -m pip install --upgrade pip virtualenv wheel setuptools sphinx sphinx_rtd_theme
python -m pip install -e .
Expand Down
Loading