diff options
author | Nikias Bassen | 2019-12-09 01:35:40 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-12-09 01:35:40 +0100 |
commit | 408badefd1c1262822fe3a492852aebb17ec9c25 (patch) | |
tree | ab7fc8fe9583318d59b615cf836d1046892f3064 /.github/workflows | |
parent | a511a4bd9ba47ca5d427cde089ba7f0932eb136b (diff) | |
download | libplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.gz libplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.bz2 |
[github actions] Update build workflow
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 15 |
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 |