32
32
buildType : [Debug]
33
33
runtimeCheck : [asan]
34
34
protonGitRef : [main, 0.36.0]
35
+ python : [/usr/bin/python3-dbg]
35
36
env :
36
37
BuildType : ${{matrix.buildType}}
37
38
ProtonBuildDir : ${{github.workspace}}/qpid-proton/build
47
48
-DBUILD_TESTING=OFF
48
49
-DENABLE_FUZZ_TESTING=OFF
49
50
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
51
+ -DPython_EXECUTABLE=${{matrix.python}}
50
52
DispatchCMakeExtraArgs : >
51
53
-DCMAKE_C_COMPILER_LAUNCHER=ccache
52
54
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
56
58
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
57
59
-DSANITIZE_3RD_PARTY=ON
58
60
-DBUILD_BENCHMARKS=ON
61
+ -DPython_EXECUTABLE=${{matrix.python}}
59
62
60
63
CCACHE_BASEDIR : ${{github.workspace}}
61
64
CCACHE_DIR : ${{github.workspace}}/.ccache
@@ -109,7 +112,10 @@ jobs:
109
112
- name : Install Linux build dependencies
110
113
if : ${{ runner.os == 'Linux' }}
111
114
run : |
112
- sudo apt update; sudo apt install -y swig libpython3-dev libsasl2-dev libjsoncpp-dev libwebsockets-dev ccache ninja-build pixz libbenchmark-dev
115
+ sudo apt update; sudo apt install -y swig python3-dbg libpython3-dbg libsasl2-dev libjsoncpp-dev libwebsockets-dev ccache ninja-build pixz libbenchmark-dev
116
+
117
+ - name : Install Python build dependencies
118
+ run : ${{matrix.python}} -m pip install setuptools wheel tox
113
119
114
120
- name : Zero ccache stats
115
121
run : ccache -z
@@ -177,6 +183,7 @@ jobs:
177
183
buildType : [Debug]
178
184
runtimeCheck : [asan]
179
185
protonGitRef : [main, 0.36.0]
186
+ python : [/usr/bin/python3-dbg]
180
187
shard : [1, 2]
181
188
shards : [2]
182
189
env :
@@ -189,6 +196,7 @@ jobs:
189
196
LD_LIBRARY_PATH : ${{github.workspace}}/install/lib
190
197
QPID_SYSTEM_TEST_TIMEOUT : 300
191
198
QPID_SYSTEM_TEST_SKIP_FALLBACK_SWITCHOVER_TEST : True
199
+ PYTHONTRACEMALLOC : 5
192
200
steps :
193
201
194
202
- name : Show environment (Linux)
@@ -212,13 +220,16 @@ jobs:
212
220
- name : Install Linux runtime/test dependencies
213
221
if : ${{ runner.os == 'Linux' }}
214
222
run : |
215
- sudo apt update; sudo apt install -y libsasl2-2 libsasl2-modules sasl2-bin libjsoncpp1 libwebsockets15 libbenchmark1 pixz bubblewrap curl
223
+ sudo apt update; sudo apt install -y python3-dbg libsasl2-2 libsasl2-modules sasl2-bin libjsoncpp1 libwebsockets15 libbenchmark1 pixz bubblewrap curl
216
224
217
225
- name : Unpack archive
218
226
run : tar -I pixz -xf archive.tar.xz
219
227
220
- - name : install qpid-proton python wheel
221
- run : python -m pip install $(find ${ProtonBuildDir}/python/ -name 'python_qpid_proton*.whl')
228
+ - name : Install Python runtime/test dependencies
229
+ run : ${{matrix.python}} -m pip install tox quart selectors h2 grpcio protobuf websockets pytest
230
+
231
+ - name : Install qpid-proton python wheel
232
+ run : ${{matrix.python}} -m pip install $(find ${ProtonBuildDir}/python/ -name 'python_qpid_proton*.whl')
222
233
223
234
- name : CTest
224
235
working-directory : ${{env.DispatchBuildDir}}
0 commit comments