Skip to content

Commit

Permalink
Only build modules that we use.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 7, 2024
1 parent ca547cf commit b6f3c82
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ jobs:
sh -x scripts/build/install_depends.sh
- name: Build
run: sh -x scripts/build/do_build.sh
run: |
KEEP_MODULES="dialog sipmsgops sl tm rr maxfwd rtp.io rtpproxy textops"
SKIP_MODULES="usrloc event_routing" # clusterer rtp_relay b2b_logic b2b_entities uac_auth"
mkdir tmp
cd modules
mv ${KEEP_MODULES} ${SKIP_MODULES} ../tmp
rm -rf *
cd ../tmp
mv ${KEEP_MODULES} ${SKIP_MODULES} ../modules
cd ..
rmdir tmp
EXCLUDE_MODULES_ADD="${SKIP_MODULES}" sh -x scripts/build/do_build.sh
- name: Build rtp.io module
run: |
Expand Down

0 comments on commit b6f3c82

Please sign in to comment.