@@ -54,74 +54,15 @@ jobs:
5454 pip install dist/sippy*.gz
5555 ${PYTHON_CMD} -m unittest
5656
57- set_env :
58- name : List Supported Arches
59- uses : sippy/cimagic/.github/workflows/GetContainerPlatforms.yml@v2
60- with :
61- image : sippylabs/rtpproxy:latest-debian_13-slim
62-
6357 voiptests :
64- name : Run VoIPTests
65- runs-on : ubuntu-latest
66- needs : [set_env, build]
67- env :
68- BASE_IMAGE : sippylabs/rtpproxy:latest-debian_13-slim
69- TARGETPLATFORM : ${{ matrix.platform }}
58+ name : VoIPTests
59+ uses : ./.github/workflows/.voiptests.yml
60+ with :
61+ rtpp-image-tag : latest-${{ matrix.rtpp-image-tag }}
7062 strategy :
7163 fail-fast : false
7264 matrix :
73- platform : ${{ fromJSON(needs.set_env.outputs.build-matrix) }}
74- steps :
75- - uses : actions/checkout@v4
76-
77- - name : Checkout VoIPTests repo
78- uses : actions/checkout@v4
79- with :
80- repository : ' sippy/voiptests'
81- path : dist/voiptests
82-
83- - name : Checkout RTPProxy repo
84- uses : actions/checkout@v4
85- with :
86- repository : ' sippy/rtpproxy'
87- path : dist/rtpproxy
88-
89- - name : Set up QEMU
90- if : matrix.platform != 'linux/386' && matrix.platform != 'linux/amd64'
91- uses : docker/setup-qemu-action@v3
92- with :
93- platforms : ${{ env.TARGETPLATFORM }}
94-
95- - name : Set up Docker Buildx
96- uses : docker/setup-buildx-action@v3
97-
98- - name : Cache wheels
99- uses : actions/cache@v4
100- with :
101- path : dist_out/root/.cache
102- key : voiptests-${{ matrix.platform }}-pipcache-${{ github.run_id }}
103- restore-keys : |
104- voiptests-${{ matrix.platform }}-pipcache
105- voiptests-${{ matrix.platform }}-pipcache-${{ github.run_id }}
106-
107- - name : Small things
108- run : test -d dist_out || mkdir dist_out
109-
110- - name : VoIP Tests
111- uses : docker/build-push-action@v6
112- env :
113- DOCKER_BUILD_SUMMARY : false
114- DOCKER_BUILD_RECORD_UPLOAD : false
115- with :
116- context : .
117- file : ./docker/Dockerfile.voiptests
118- build-args : |
119- RTPPC_TYPE=unix
120- BASE_IMAGE=${{ env.BASE_IMAGE }}
121- platforms : ${{ env.TARGETPLATFORM }}
122- outputs : type=local,dest=dist_out
123- cache-from : type=gha
124- cache-to : type=gha,mode=max
65+ rtpp-image-tag : ['debian_13-slim', 'ubuntu_latest']
12566
12667 publish_wheels :
12768 name : Publish Puthon Wheels
0 commit comments