File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Darwin
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : macos-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+
12
+ - name : Install dependencies
13
+ run : brew install automake bzip2 cmake make git gpatch gnutls ossp-uuid coreutils grep libtool
14
+
15
+ - name : Build
16
+ run : |
17
+ export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/opt/make/libexec/gnubin:/opt/homebrew/opt/grep/libexec/gnubin:$PATH"
18
+ make
19
+
20
+ - name : Show version
21
+ run : ./src/proxysql --version
Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ ifeq ($(UNAME_S),FreeBSD)
92
92
sed -i -e 's/\/bin\/bash/\/usr\/local\/bin\/bash/' libhttpserver/libhttpserver/bootstrap
93
93
endif
94
94
ifeq ($(SYS_KERN ) ,Darwin)
95
- sed -i -e 's/glibtoolize/libtoolize/' libhttpserver/libhttpserver/bootstrap
95
+ ifeq (, $(shell which glibtoolize) )
96
+ sed -i -e 's/glibtoolize/libtoolize/' libhttpserver/libhttpserver/bootstrap
97
+ endif
96
98
endif
97
99
cd libhttpserver/libhttpserver && ./bootstrap && mkdir build
98
100
cd libhttpserver/libhttpserver/build && LDFLAGS=-L$(shell pwd)/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/ CPPFLAGS=-I$(shell pwd)/libmicrohttpd/libmicrohttpd/src/include ../configure --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-html --enable-fastopen=false --disable-examples
You can’t perform that action at this time.
0 commit comments