Skip to content

Commit

Permalink
Update workflow scripts (#22)
Browse files Browse the repository at this point in the history
Change OS and Python versions
  • Loading branch information
DaWelter authored Jun 30, 2024
1 parent b2d9f12 commit 23d9951
Showing 1 changed file with 15 additions and 12 deletions.
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

0 comments on commit 23d9951

Please sign in to comment.