diff options
| author | 2019-12-09 01:35:40 +0100 | |
|---|---|---|
| committer | 2019-12-09 01:35:40 +0100 | |
| commit | 408badefd1c1262822fe3a492852aebb17ec9c25 (patch) | |
| tree | ab7fc8fe9583318d59b615cf836d1046892f3064 | |
| parent | a511a4bd9ba47ca5d427cde089ba7f0932eb136b (diff) | |
| download | libplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.gz libplist-408badefd1c1262822fe3a492852aebb17ec9c25.tar.bz2 | |
[github actions] Update build workflow
| -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: | |||
| 10 | runs-on: ${{ matrix.platform }} | 10 | runs-on: ${{ matrix.platform }} |
| 11 | steps: | 11 | steps: |
| 12 | - uses: actions/checkout@v1 | 12 | - uses: actions/checkout@v1 |
| 13 | - name: install dependencies | ||
| 14 | run: | | ||
| 15 | if [ "$RUNNER_OS" == "Linux" ]; then | ||
| 16 | sudo apt-get install cython | ||
| 17 | elif [ "$RUNNER_OS" == "macOS" ]; then | ||
| 18 | if test -x "`which port`"; then | ||
| 19 | sudo port install libtool autoconf automake cython | ||
| 20 | else | ||
| 21 | sudo brew install libtool autoconf automake cython | ||
| 22 | fi | ||
| 23 | else | ||
| 24 | echo "$RUNNER_OS not supported" | ||
| 25 | exit 1 | ||
| 26 | fi | ||
| 27 | shell: bash | ||
| 13 | - name: autogen | 28 | - name: autogen |
| 14 | run: ./autogen.sh | 29 | run: ./autogen.sh |
| 15 | - name: make | 30 | - name: make |
