From ebf5305c62c3b329d22e5cfd65c05c479823ed55 Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Fri, 10 Jul 2020 13:47:04 +0100 Subject: [PATCH] chore: GH action for testing without libopusfile --- .github/workflows/test.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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 -- 2.48.1