Browse Source

Merge pull request #87 from matt335672/update_actions

Update github actions to address warnings
pull/88/head
matt335672 1 year ago
committed by GitHub
parent
commit
279fa8ef73
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions
  1. +6
    -7
      .github/workflows/build.yml
  2. +9
    -0
      scripts/install_pulseaudio_sources_apt.sh

+ 6
- 7
.github/workflows/build.yml View File

@ -9,14 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
# Set steps.os.outputs.image to the specific OS (e.g. 'ubuntu20')
# see https://github.com/actions/cache/issues/543
- name: Get operating system name and version.
id: os
run: echo "::set-output name=image::$ImageOS"
run: echo "image=$ImageOS" >>$GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache pulseaudio source
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-pulseaudio-src
with:
@ -44,16 +43,16 @@ jobs:
steps:
- name: Get operating system name and version.
id: os
run: echo "::set-output name=image::$ImageOS"
run: echo "image=$ImageOS" >>$GITHUB_OUTPUT
shell: bash
- name: Fetch pulseaudio sources
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-pulseaudio-src
with:
path: ~/pulseaudio.src
key: ${{ steps.os.outputs.image }}-build-${{ env.cache-name }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get -yq install build-essential libpulse-dev
- run: ./bootstrap


+ 9
- 0
scripts/install_pulseaudio_sources_apt.sh View File

@ -98,6 +98,15 @@ if [ ! -d "$PULSE_DIR" ]; then
sudo apt-get update
# For the CI build on 22.04, it was noted that an incompatible
# libunwind development package was installed.
if [ -f /usr/include/libunwind/libunwind.h ]; then
pkg=`dpkg -S /usr/include/libunwind/libunwind.h | sed -e 's/: .*//'`
if [ -n "$pkg" -a "$pkg" != libunwind-dev ]; then
echo "- Removing package $pkg"
sudo apt-get remove "$pkg"
fi
fi
sudo apt-get build-dep -y pulseaudio
# Install any missing dependencies for this software release
case "$RELEASE" in


Loading…
Cancel
Save