summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-12-09 01:35:40 +0100
committerGravatar Nikias Bassen2019-12-09 01:35:40 +0100
commit408badefd1c1262822fe3a492852aebb17ec9c25 (patch)
treeab7fc8fe9583318d59b615cf836d1046892f3064 /.github/workflows/build.yml
parenta511a4bd9ba47ca5d427cde089ba7f0932eb136b (diff)
downloadlibplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.gz
libplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.bz2
[github actions] Update build workflow
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