From 408badefd1c1262822fe3a492852aebb17ec9c25 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 9 Dec 2019 01:35:40 +0100 Subject: [github actions] Update build workflow --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c11d391..819c085 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,21 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v1 + - name: install dependencies + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + sudo apt-get install cython + elif [ "$RUNNER_OS" == "macOS" ]; then + if test -x "`which port`"; then + sudo port install libtool autoconf automake cython + else + sudo brew install libtool autoconf automake cython + fi + else + echo "$RUNNER_OS not supported" + exit 1 + fi + shell: bash - name: autogen run: ./autogen.sh - name: make -- cgit v1.1-32-gdbae