Browse Source

Factorize deps list

master
Samuel Thibault 2 years ago
parent
commit
4281b15f4f
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      .github/workflows/ci.yml

+ 6
- 3
.github/workflows/ci.yml 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

Loading…
Cancel
Save