Skip to content

Commit

Permalink
Install apt libopus-dev for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Jun 7, 2024
1 parent e0727ab commit 1110917
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ jobs:
ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
- name: Install dependencies for x86_64
if: env.ARCH == 'x86_64'
run: |
sudo apt-get update -y && \
sudo apt-get install -y libopus-dev yasm
- name: Install ARM64 compiler
- name: Install dependencies for arm64
if: env.ARCH == 'arm64'
run: |
sudo dpkg --add-architecture arm64 && \
sudo apt-get update -y && \
sudo apt-get install -y gcc-aarch64-linux-gnu
sudo apt-get install -y libopus-dev:arm64 yasm gcc-aarch64-linux-gnu
- name: Build
run: ./build-linux.sh
- name: Archive production artifacts
Expand Down

0 comments on commit 1110917

Please sign in to comment.