summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml15
1 files changed, 15 insertions, 0 deletions
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