Skip to content

Bump itertools from 0.12.1 to 0.13.0 #203

Bump itertools from 0.12.1 to 0.13.0

Bump itertools from 0.12.1 to 0.13.0 #203

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update stable && rustup default stable
- run: rustup component add rustfmt
- run: cargo fmt --all --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt update && sudo apt install -y libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev
- run: rustup update stable && rustup default stable
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install packages (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt update && sudo apt install -y libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev
- name: Install packages (macOs)
if: matrix.os == 'macos-latest'
run: brew install ffmpeg pkg-config
- name: Install packages (Windows)
if: matrix.os == 'windows-latest'
run: |
Invoke-WebRequest -Uri https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z -OutFile ffmpeg.7z
7z x ffmpeg.7z
- name: Build (Windows)
if: matrix.os == 'windows-latest'
run: |
$env:FFMPEG_DIR = "$(Get-Location)\ffmpeg-7.0-full_build-shared"; cargo build --verbose
cp "$(Get-Location)\ffmpeg-7.0-full_build-shared\bin\*" 'target\debug\'
- name: Build (Unix)
if: matrix.os != 'windows-latest'
run: cargo build --verbose
- name: Run tests (Unix)
if: matrix.os != 'windows-latest'
run: cargo test --verbose
- name: Run tests (Windows)
if: matrix.os == 'windows-latest'
run: |
$env:FFMPEG_DIR = "$(Get-Location)\ffmpeg-6.0-full_build-shared"; cargo build --verbose
cargo test --verbose