mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-22 17:14:36 -04:00
ci: filter ffmpeg install by os
This commit is contained in:
1 parent
357015b3da
commit
b2ea71fecb
1 file changed
+3
@@ -73,6 +73,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install ffmpeg (Ubuntu)
|
||||
if: ${{ matrix.platform }} == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
@@ -88,9 +89,11 @@ jobs:
|
||||
ffmpeg
|
||||
|
||||
- name: Install ffmpeg (macOS)
|
||||
if: ${{ matrix.platform }} == 'macos-latest'
|
||||
run: brew install ffmpeg
|
||||
|
||||
- name: Install ffmpeg (Windows)
|
||||
if: ${{ matrix.platform }} == 'windows-latest'
|
||||
run: |
|
||||
$VCINSTALLDIR = $(& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath)
|
||||
Add-Content $env:GITHUB_ENV "LIBCLANG_PATH=${VCINSTALLDIR}\VC\Tools\LLVM\x64\bin`n"
|
||||
|
||||
Reference in new issue
Block a user