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

pull_request: pull_request:
branches: [ master ] branches: [ master ]


env:
deps: libpcaudio-dev libsonic-dev ronn kramdown

jobs: jobs:
build: build:


if: matrix.arch == 'x86-32' if: matrix.arch == 'x86-32'
- name: dependencies-apt - name: dependencies-apt
if: matrix.os == 'ubuntu-latest' 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 - name: dependencies-brew
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
run: brew install libtool automake ronn OJFord/homebrew-formulae/kramdown ${{ matrix.archdeps }} ; run: brew install libtool automake ronn OJFord/homebrew-formulae/kramdown ${{ matrix.archdeps }} ;
run: sudo dpkg --add-architecture i386 run: sudo dpkg --add-architecture i386
if: matrix.arch == 'x86-32' if: matrix.arch == 'x86-32'
- name: dependencies - 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 - name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4 run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: run - name: run
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: dependencies - 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 - name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4 run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: configure - name: configure

Loading…
Cancel
Save