From 6d2fa862858dafdea29fc2e4a3dc39c3dbb17f2e Mon Sep 17 00:00:00 2001 From: Lasse Flygenring-Harrsen Date: Thu, 9 Jul 2020 00:42:03 +0200 Subject: Import Upstream version 0.7.1 --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build.yml (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..49398d0 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: build +on: [push, pull_request] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: DoozyX/clang-format-lint-action@v0.5 + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libfftw3-dev libasound2-dev libncursesw5-dev libpulse-dev libtool automake libiniparser-dev portaudio19-dev libsndio-dev + - name: Generate configure + run: ./autogen.sh + - name: Run ./configure + run: CPPFLAGS=-I/usr/include/iniparser ./configure + - name: Run make + run: make + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: | + brew install fftw ncurses libtool automake portaudio iniparser + ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize + - name: Generate configure + run: ./autogen.sh + - name: Run ./configure + run: LDFLAGS="-L/usr/local/opt/ncurses/lib" CPPFLAGS="-I/usr/local/opt/ncurses/include" ./configure + - name: Run make + run: make -- cgit v1.2.3