diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/distcheck.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml new file mode 100644 index 00000000..1520598e --- /dev/null +++ b/.github/workflows/distcheck.yml @@ -0,0 +1,34 @@ +name: Autotools distcheck + +on: + push: + branches: + - main + - master + pull_request: + +jobs: + distcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install Linux dependencies + run: | + sudo apt-get update + sudo apt-get install -y libtool-bin libogg-dev doxygen libxml2-utils w3c-sgml-lib + + - name: Build with Autotools + run: | + ./autogen.sh + ./configure + + - name: Build and check source package + run: make distcheck + + - name: Upload logs on failure + uses: actions/upload-artifact@v2 + if: failure() + with: + name: flac-${{ github.sha }}-${{ github.run_id }}-logs + path: ./**/*.log |