Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflow scripts #22

Merged
merged 4 commits into from
Jun 30, 2024
Merged
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
27 changes: 15 additions & 12 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
Loading