Commit 2982602bc55ae61c770bbe672aa90edd5770e5d6

Authored by Perry Werneck
1 parent 245841f2
Exists in develop

Debugging macos workflow.

Showing 2 changed files with 5 additions and 5 deletions   Show diff stats
.github/workflows/macos.yml
@@ -18,7 +18,7 @@ jobs: @@ -18,7 +18,7 @@ jobs:
18 - name: Install Pre reqs 18 - name: Install Pre reqs
19 run: | 19 run: |
20 brew update 20 brew update
21 - brew install automake binutils coreutils curl gettext libtool openssl pkgconfig 21 + brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig
22 brew upgrade 22 brew upgrade
23 - name: build 23 - name: build
24 run: ./mac/ci-build.sh 24 run: ./mac/ci-build.sh
mac/ci-build.sh 100644 → 100755
1 #!/bin/bash 1 #!/bin/bash
2 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" 3 echo "------------------ CURL"
7 brew --prefix curl 4 brew --prefix curl
8 5
9 echo "------------------ OpenSSL " 6 echo "------------------ OpenSSL "
10 brew --prefix openssl 7 brew --prefix openssl
11 8
12 -./autogen.sh 9 +PROJECT_NAME=$(grep AC_INIT configure.ac | cut -d[ -f2 | cut -d] -f1)
  10 +VERSION=$(grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1)
  11 +
  12 +./autogen.sh --prefix="/${PROJECT_NAME}/${VERSION}"
13 if [ "$?" != "0" ]; then 13 if [ "$?" != "0" ]; then
14 exit -1 14 exit -1
15 fi 15 fi