Add bundled builds (+FFmpeg) for Linux arm64 (#686)
This commit is contained in:
parent
fda2585b3c
commit
bb50d8f1e9
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user