Commit 2982602bc55ae61c770bbe672aa90edd5770e5d6
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 | 18 | - name: Install Pre reqs |
19 | 19 | run: | |
20 | 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 | 22 | brew upgrade |
23 | 23 | - name: build |
24 | 24 | run: ./mac/ci-build.sh | ... | ... |
1 | 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 | 3 | echo "------------------ CURL" |
7 | 4 | brew --prefix curl |
8 | 5 | |
9 | 6 | echo "------------------ OpenSSL " |
10 | 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 | 13 | if [ "$?" != "0" ]; then |
14 | 14 | exit -1 |
15 | 15 | fi | ... | ... |