diff options
author | Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> | 2020-07-09 00:42:03 +0200 |
---|---|---|
committer | Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> | 2020-07-09 00:42:03 +0200 |
commit | 6d2fa862858dafdea29fc2e4a3dc39c3dbb17f2e (patch) | |
tree | b03c3dc5c5c08129ed7f0642dd3e64d75aa866e0 /.github/workflows/build.yml |
Import Upstream version 0.7.1
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 36 |
1 files changed, 36 insertions, 0 deletions
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 |