Skip to content

Commit

Permalink
workflow/test: Check if installing packages helps tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 committed Feb 22, 2022
1 parent e1d7427 commit 6f33666
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,24 @@ jobs:
restore-keys: |
${{ runner.os }}-ffmpeg
- name: Install dependencies
run: |
sudo apt-get update \
&& sudo apt-get install -y software-properties-common curl apt-transport-https \
&& sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 15CF4D18AF4F7421 \
&& sudo add-apt-repository "deb [arch=amd64] http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" \
&& sudo apt-get update \
&& sudo apt-get -y install clang-8 clang-tools-8 build-essential pkg-config autoconf git python
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 30 \
&& sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 30
- name: Install go modules
run: go mod download

- name: Install ffmpeg
run: ./install_ffmpeg.sh

- name: go fmt
run: |
go fmt ./...
Expand Down

0 comments on commit 6f33666

Please sign in to comment.