File tree Expand file tree Collapse file tree 1 file changed +95
-0
lines changed Expand file tree Collapse file tree 1 file changed +95
-0
lines changed Original file line number Diff line number Diff line change 1+ name : MacOS Build
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - master
8+ - v1.10
9+ pull_request :
10+ branches :
11+ - master
12+ - v1.10
13+
14+ jobs :
15+ build :
16+ name : Build MacOS
17+ runs-on : macos-latest
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Install dependencies
26+ run : |
27+ brew update
28+ # brew install libtiff openssl@3 pkg-config
29+ brew install \
30+ autoconf \
31+ automake \
32+ curl \
33+ ffmpeg@5 \
34+ gnu-sed \
35+ jpeg \
36+ ldns \
37+ libpq@16 \
38+ libsndfile \
39+ libtool \
40+ lua \
41+ opus \
42+ ossp-uuid \
43+ pcre \
44+ sofia-sip \
45+ speex \
46+ speexdsp \
47+ sqlite \
48+ yasm \
49+ && \
50+ brew install \
51+ signalwire/homebrew-signalwire/libks2 \
52+ signalwire/homebrew-signalwire/signalwire-c2 \
53+ signalwire/homebrew-signalwire/spandsp \
54+ && \
55+ brew link --force --overwrite \
56+ ffmpeg@5 \
57+ libpq@16
58+
59+ - name : Bootstrap FreeSWITCH
60+ run : ./bootstrap.sh -j
61+
62+ # - name: Disable modules
63+ # run: |
64+ # gsed -i \
65+ # -e '/mod_pgsql/s/^/#/g' \
66+ # modules.conf
67+
68+ - name : Configure build
69+ run : |
70+ mkdir -p OUT && \
71+ ./configure \
72+ --enable-shared \
73+ --enable-static \
74+ --exec_prefix=${{ github.workspace }}/OUT \
75+ --prefix=${{ github.workspace }}/OUT
76+
77+ - name : Build
78+ run : |
79+ make
80+
81+ - name : Install to local folder
82+ run : |
83+ make install
84+
85+ # - name: Debug - List all files
86+ # run: |
87+ # find . -type f | sort
88+
89+ - name : Upload build artifacts
90+ uses : actions/upload-artifact@v4
91+ if : always()
92+ with :
93+ name : freeswitch-macos-build
94+ path : |
95+ OUT/
You can’t perform that action at this time.
0 commit comments