You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
858 B

  1. name: build
  2. on:
  3. push:
  4. pull_request:
  5. jobs:
  6. build:
  7. name: build
  8. runs-on: ubuntu-latest
  9. steps:
  10. # This is currently the only way to get a version into
  11. # the cache tag name - see https://github.com/actions/cache/issues/543
  12. - run: |
  13. echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
  14. - uses: actions/checkout@v2
  15. - name: Cache pulseaudio source
  16. uses: actions/cache@v2
  17. env:
  18. cache-name: cache-pulseaudio-src
  19. with:
  20. path: ~/pulseaudio.src
  21. key: ${{ runner.os }}-${{ env.OS_VERSION }}-build-${{ env.cache-name }}
  22. - run: scripts/install_pulseaudio_sources.sh
  23. - run: sudo apt-get update
  24. - run: sudo apt-get -yq install build-essential libpulse-dev
  25. - run: ./bootstrap
  26. - run: ./configure PULSE_DIR=~/pulseaudio.src
  27. - run: make