Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Apr 26, 2024
1 parent 8357666 commit b523ee8
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/_ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install dependencies
if: ${{ inputs.platform }} == 'ubuntu-latest'
run: |
- name: Install dependencies
run: |
if [ "${{ inputs.platform }}" = 'ubuntu-latest' ]; then
sudo apt update
sudo apt install -y --no-install-recommends clang curl pkg-config yasm nasm
- name: Install dependencies (macOS)
if: ${{ inputs.platform }} == 'macos-latest'
run: brew install clang curl pkg-config yasm nasm

- name: Install dependencies (Windows)
if: ${{ inputs.platform }} == 'windows-latest'
run: |
elif [ "${{ inputs.platform }}" = 'macos-latest' ]; then
brew install clang curl pkg-config yasm nasm
elif [ "${{ inputs.platform }}" = 'windows-latest' ]; then
choco install llvm
choco install curl
choco install yasm
choco install nasm
fi
- name: Cargo
run: |
curl -fsSL https://sh.rustup.rs | sh -s -- -y
Expand Down

0 comments on commit b523ee8

Please sign in to comment.