-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed CI build failure due to Python setup
- Loading branch information
Showing
1 changed file
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,14 @@ jobs: | |
run: CFLAGS="-g -I/usr/local/include -I/usr/local/opt/[email protected]/include -fPIC" LDFLAGS="-L/usr/local/lib -L/usr/local/opt/[email protected]/lib" CXXFLAGS="-g -fPIC" ./configure | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make | ||
- name: disable firewall | ||
run: sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off | ||
- name: set up Python 3.10 for pjsua test | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: unit tests | ||
run: make pjlib-test-ci pjmedia-test pjlib-util-test pjsua-test | ||
|
||
|
@@ -91,6 +91,10 @@ jobs: | |
run: CFLAGS="-I/usr/local/include -I/usr/local/opt/[email protected]/include -fPIC" LDFLAGS="-L/usr/local/lib -L/usr/local/opt/[email protected]/lib" CXXFLAGS="-fPIC" ./configure | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make | ||
|
||
|
@@ -105,6 +109,10 @@ jobs: | |
run: CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./configure --with-gnutls=/usr/local/ | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make | ||
|
||
|
@@ -122,14 +130,14 @@ jobs: | |
run: CFLAGS="-g -I/usr/local/include -I/usr/local/opt/[email protected]/include -DHAS_VID_CODEC_TEST=0 -fPIC" LDFLAGS="-L/usr/local/lib -L/usr/local/opt/[email protected]/lib" CXXFLAGS="-g -fPIC" ./configure | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make | ||
- name: disable firewall | ||
run: sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off | ||
- name: set up Python 3.10 for pjsua test | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
- name: unit tests | ||
run: make pjlib-test-ci pjmedia-test pjlib-util-test pjsua-test | ||
|
||
|
@@ -188,6 +196,10 @@ jobs: | |
run: CFLAGS="-I/usr/local/include -I/usr/local/opt/[email protected]/include -fPIC" LDFLAGS="-L/usr/local/lib -L/usr/local/opt/[email protected]/lib" CXXFLAGS="-fPIC" ./configure | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make | ||
|
||
|
@@ -204,5 +216,9 @@ jobs: | |
run: CFLAGS="-I/usr/local/include -I/usr/local/opt/[email protected]/include -fPIC" LDFLAGS="-L/usr/local/lib -L/usr/local/opt/[email protected]/lib" CXXFLAGS="-fPIC" ./configure | ||
- name: make | ||
run: make | ||
- name: set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: swig bindings | ||
run: cd pjsip-apps/src/swig && make |