Skip to content

πŸ”₯ Remove ffmpeg_args_factory.rs #395

πŸ”₯ Remove ffmpeg_args_factory.rs

πŸ”₯ Remove ffmpeg_args_factory.rs #395

Workflow file for this run

name: πŸ¦€ Running Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
Linter:
runs-on: ubuntu-latest
name: 🧹 Linter
steps:
- name: πŸš€ actions/checkout@v2
uses: actions/checkout@v2
- name: πŸ•΅οΈ Run linter
run: cargo clippy
MacOS:
name: 🍎 MacOS
runs-on: macos-latest
steps:
- name: πŸš€ actions/checkout@v2
uses: actions/checkout@v2
- name: ⬇ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
- name: ⬇️ Install ffmpeg
run: |
wget https://evermeet.cx/ffmpeg/get/zip -qO ffmpeg.zip
unzip ffmpeg.zip
- name: ⬇️ Install task
run: brew install go-task/tap/go-task
- name: πŸ•΅οΈ Run tests
run: task test
Ubuntu:
runs-on: ubuntu-latest
name: 🐧 Ubuntu
steps:
- name: πŸš€ actions/checkout@v2
uses: actions/checkout@v2
- name: ⬇️ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
- name: ⬇️ Install ffmpeg
run: sudo apt install -y ffmpeg
- name: ⬇️ Install task
run: |
curl -sL "https://github.com/go-task/task/releases/download/v3.9.0/task_linux_amd64.tar.gz" | tar xz
sudo mv task /usr/local/bin
- name: πŸ•΅οΈ Run tests
run: task test
# TODO - setup self-hosted for that
# Windows:
# runs-on: self-hosted
# name: πŸ³οΈβ€πŸŒˆ Windows
# steps:
# - name: πŸš€ actions/checkout@v2
# uses: actions/checkout@v2
# - name: ⬇️ Install chocolatey
# uses: crazy-max/ghaction-chocolatey@v1
# with:
# args: -h
# - name: ⬇️ Install yt-dlp
# run: choco install yt-dlp
# - name: ⬇️ Install ffmpeg
# run: choco install ffmpeg
# - name: ⬇️ Install task
# run: choco install go-task
# - name: πŸ•΅οΈ Run tests
# run: task test