feat(CI): Fix alsa.pc not found on ubuntu-latest.

This commit is contained in:
Veikko Sariola 2020-12-05 00:10:18 +02:00
parent d19d513ea8
commit 6b67d6b544

View File

@ -44,6 +44,9 @@ jobs:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- uses: ilammy/setup-nasm@v1.2.0
- name: Install libasound2-dev # sointu-cli has alsa as dependency for playing sound and
if: ${{ matrix.config.os == 'ubuntu-latest' }} # ubuntu was complaining about "Package alsa was not found in the pkg-config search path.",
run: sudo apt install libasound2-dev # leading to tests failing. This fixes that.
- name: Run ctest
env:
ASM_NASM: ${{ matrix.config.asmnasm }}