Factorize deps list

This commit is contained in:
Samuel Thibault
2022-10-24 22:13:38 +02:00
parent 819cab294e
commit 4281b15f4f
+6 -3
View File
@@ -7,6 +7,9 @@ on:
pull_request:
branches: [ master ]
env:
deps: libpcaudio-dev libsonic-dev ronn kramdown
jobs:
build:
@@ -105,7 +108,7 @@ jobs:
if: matrix.arch == 'x86-32'
- name: dependencies-apt
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown ${{ matrix.deps }} ${{ matrix.archdeps }}
run: sudo apt-get update && sudo apt-get install ${{ env.deps }} ${{ matrix.deps }} ${{ matrix.archdeps }}
- name: dependencies-brew
if: matrix.os == 'macos-latest'
run: brew install libtool automake ronn OJFord/homebrew-formulae/kramdown ${{ matrix.archdeps }} ;
@@ -152,7 +155,7 @@ jobs:
run: sudo dpkg --add-architecture i386
if: matrix.arch == 'x86-32'
- name: dependencies
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown reprotest ${{ matrix.archdeps }}
run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
- name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: run
@@ -165,7 +168,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: dependencies
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown
run: sudo apt-get update && sudo apt-get install ${{ env.deps }}
- name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: configure