Commit 245841f2c6eb68fcbf81a383a88e79103d93fb62

Authored by Perry Werneck
1 parent fd4300f3
Exists in develop

Debugging macos action.

Showing 2 changed files with 26 additions and 4 deletions   Show diff stats
.github/workflows/macos.yml
... ... @@ -21,7 +21,5 @@ jobs:
21 21 brew install automake binutils coreutils curl gettext libtool openssl pkgconfig
22 22 brew upgrade
23 23 - name: build
24   - run: |
25   - ./autogen.sh
26   - make all
27   -
  24 + run: ./mac/ci-build.sh
  25 +
... ...
mac/ci-build.sh 0 → 100644
... ... @@ -0,0 +1,24 @@
  1 +#!/bin/bash
  2 +
  3 +export LIBCURL_LIBS="-L/usr/local/opt/curl/lib"
  4 +export LIBCURL_CFLAGS="-I/usr/local/opt/curl/include"
  5 +
  6 +echo "------------------ CURL"
  7 +brew --prefix curl
  8 +
  9 +echo "------------------ OpenSSL "
  10 +brew --prefix openssl
  11 +
  12 +./autogen.sh
  13 +if [ "$?" != "0" ]; then
  14 + exit -1
  15 +fi
  16 +
  17 +make all
  18 +./autogen.sh
  19 +if [ "$?" != "0" ]; then
  20 + exit -1
  21 +fi
  22 +
  23 +echo "Build complete"
  24 +
... ...