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