π Speed up fps_changer on apple silicons via -c:v hevc_videotoolbox #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π¦ Running Rust | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
Linter: | |
runs-on: ubuntu-latest | |
name: π§Ή Linter | |
steps: | |
- name: π actions/checkout@v4 | |
uses: actions/checkout@v4 | |
- name: π΅οΈ Run linter | |
run: cargo clippy | |
MacOS: | |
name: π MacOS | |
runs-on: macos-latest | |
steps: | |
- name: π actions/checkout@v4 | |
uses: actions/checkout@v4 | |
- 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: brew install ffmpeg | |
- 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@v4 | |
uses: actions/checkout@v4 | |
- name: β¬οΈ Update package lists | |
run: sudo apt-get update | |
- 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 | |
Windows: | |
runs-on: windows-latest | |
name: π³οΈβπ Windows | |
steps: | |
- name: π actions/checkout@v4 | |
uses: actions/checkout@v4 | |
- 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 |