Skip to content

chore: bump dependencies for vapoursynth r74 compat #318

chore: bump dependencies for vapoursynth r74 compat

chore: bump dependencies for vapoursynth r74 compat #318

Workflow file for this run

name: Build Av1an (Windows x64)
on:
push:
branches:
- 'master'
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
env:
CARGO_INCREMENTAL: 0
vsynth_ver: "R72"
vsynth_path: "C:/Program Files/Vapoursynth"
steps:
- name: NASM setup
uses: ilammy/setup-nasm@v1
with:
# version: 2.16.03
from-source: false
- name: VapourSynth installation
run: |
$tempFile = New-TemporaryFile
$uri = 'https://github.com/vapoursynth/vapoursynth/releases/download/VER/VapourSynth64-Portable-VER.zip'.Replace('VER', "$env:vsynth_ver")
Invoke-WebRequest "$uri" -OutFile "$tempFile" -TimeoutSec 10
Expand-Archive "$tempFile" "$env:vsynth_path"
- uses: actions/checkout@v6
- uses: Swatinem/rust-cache@v2
- name: Get latest commit
id: get_commit
shell: pwsh
run: |
$commit = git log -1 --pretty=format:"%h: %s (%an)"
echo "message=$commit" >> $env:GITHUB_OUTPUT
- name: Av1an build
run: cargo build --release
- name: Create or update prerelease
uses: softprops/action-gh-release@v2
with:
prerelease: true
tag_name: latest
body: |
Latest build from ${{ github.sha }}
Commit:
${{ steps.get_commit.outputs.message }}
files: target/release/av1an.exe
fail_on_unmatched_files: true