Add bundled builds (+FFmpeg) for Linux arm64 (#686)

This commit is contained in:
Oleksii Holub 2025-06-24 22:37:01 +03:00 committed by GitHub
parent fda2585b3c
commit bb50d8f1e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 9 deletions

View File

@ -60,6 +60,8 @@ jobs:
- win-x86
- win-x64
- linux-arm64
# Linux x86 is not supported by .NET
# - linux-x86
- linux-x64
- osx-arm64
- osx-x64
@ -71,10 +73,6 @@ jobs:
artifact-name-base: YoutubeDownloader
- bundle-ffmpeg: false
artifact-name-base: YoutubeDownloader.Bare
exclude:
# FFmpeg builds for these platforms are not easily available
- bundle-ffmpeg: true
rid: linux-arm64
runs-on: ${{ startsWith(matrix.rid, 'win-') && 'windows-latest' || startsWith(matrix.rid, 'osx-') && 'macos-latest' || 'ubuntu-latest' }}
timeout-minutes: 10
@ -145,6 +143,8 @@ jobs:
- win-x86
- win-x64
- linux-arm64
# Linux x86 is not supported by .NET
# - linux-x86
- linux-x64
- osx-arm64
- osx-x64
@ -156,10 +156,6 @@ jobs:
artifact-name-base: YoutubeDownloader
- bundle-ffmpeg: false
artifact-name-base: YoutubeDownloader.Bare
exclude:
# FFmpeg builds for these platforms are not easily available
- bundle-ffmpeg: true
rid: linux-arm64
runs-on: ubuntu-latest
timeout-minutes: 10

View File

@ -46,7 +46,7 @@ if (Test-Path $OutputPath) {
Write-Host "Downloading FFmpeg for $Platform..."
$http = New-Object System.Net.WebClient
try {
$http.DownloadFile("https://github.com/Tyrrrz/FFmpegBin/releases/download/7.0/ffmpeg-$Platform.zip", "$OutputPath.zip")
$http.DownloadFile("https://github.com/Tyrrrz/FFmpegBin/releases/download/7.1.1/ffmpeg-$Platform.zip", "$OutputPath.zip")
} finally {
$http.Dispose()
}