From: Hraban Luyat Date: Fri, 10 Jul 2020 12:47:04 +0000 (+0100) Subject: chore: GH action for testing without libopusfile X-Git-Tag: v2.0.0~13 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ebf5305c62c3b329d22e5cfd65c05c479823ed55;p=go-opus.git chore: GH action for testing without libopusfile --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1efa50..49d5990 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 @@ jobs: - 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