.github/workflows/test.yml | 18 ++++++++++++++++-- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1efa507aeb3cbd66267eb6f494630788237689a..49d5990b49f0c5ac0ab773a16ff010a7718e3c6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ on: [push, pull_request] name: Test jobs: - test: + full: strategy: matrix: go-version: @@ -24,4 +24,18 @@ # Could be a separate step but this is so quick--just put it here - name: Lint run: gofmt -d . | tee /dev/stderr | ifne false - name: Test - run: go test -race -v ./... \ No newline at end of file + run: go test -race -v ./... + + no-libopusfile: + runs-on: ubuntu-20.04 + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.14.x + - name: Install system dependencies + run: sudo apt-get install pkg-config libopus-dev + - name: Checkout code + uses: actions/checkout@v2 + - name: Test + run: go test -tags nolibopusfile -race -v ./... \ No newline at end of file