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
@@ -97,19 +100,13 @@ jobs:
97
100
- name : Create Build and Install directories
98
101
run : mkdir -p "${ProtonBuildDir}" "${DispatchBuildDir}" "${InstallPrefix}"
99
102
100
- - name : Setup python
101
- uses : actions/setup-python@v2
102
- with :
103
- python-version : 3.6
104
- architecture : x64
105
-
106
- - name : Install Python build dependencies
107
- run : python -m pip install setuptools wheel tox
108
-
109
103
- name : Install Linux build dependencies
110
104
if : ${{ runner.os == 'Linux' }}
111
105
run : |
112
- sudo apt update; sudo apt install -y swig libpython3-dev libsasl2-dev libjsoncpp-dev libwebsockets-dev libnghttp2-dev ccache ninja-build pixz libbenchmark-dev
106
+ sudo apt update; sudo apt install -y swig python3-dbg libpython3-dbg libsasl2-dev libjsoncpp-dev libwebsockets-dev libnghttp2-dev ccache ninja-build pixz libbenchmark-dev
107
+
108
+ - name : Install Python build dependencies
109
+ run : ${{matrix.python}} -m pip install setuptools wheel tox
113
110
114
111
- name : Zero ccache stats
115
112
run : ccache -z
@@ -177,6 +174,7 @@ jobs:
177
174
buildType : [Debug]
178
175
runtimeCheck : [asan]
179
176
protonGitRef : [main, 0.36.0]
177
+ python : [/usr/bin/python3-dbg]
180
178
shard : [1, 2]
181
179
shards : [2]
182
180
env :
@@ -200,25 +198,19 @@ jobs:
200
198
with :
201
199
name : qpid_dispatch_wrk_${{matrix.os}}_${{matrix.buildType}}_${{matrix.runtimeCheck}}_${{matrix.protonGitRef}}
202
200
203
- - name : Setup python
204
- uses : actions/setup-python@v2
205
- with :
206
- python-version : 3.6
207
- architecture : x64
208
-
209
- - name : Install Python runtime/test dependencies
210
- run : python -m pip install tox quart selectors h2 grpcio protobuf websockets pytest
211
-
212
201
- name : Install Linux runtime/test dependencies
213
202
if : ${{ runner.os == 'Linux' }}
214
203
run : |
215
- sudo apt update; sudo apt install -y libsasl2-2 libsasl2-modules sasl2-bin libjsoncpp1 libwebsockets15 libbenchmark1 pixz bubblewrap curl
204
+ sudo apt update; sudo apt install -y python3-dbg libsasl2-2 libsasl2-modules sasl2-bin libjsoncpp1 libwebsockets15 libbenchmark1 pixz bubblewrap curl
216
205
217
206
- name : Unpack archive
218
207
run : tar -I pixz -xf archive.tar.xz
219
208
220
- - name : install qpid-proton python wheel
221
- run : python -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
209
+ - name : Install Python runtime/test dependencies
210
+ run : ${{matrix.python}} -m pip install tox quart selectors h2 grpcio protobuf websockets pytest
211
+
212
+ - name : Install qpid-proton python wheel
213
+ run : ${{matrix.python}} -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
222
214
223
215
- name : CTest
224
216
working-directory : ${{env.DispatchBuildDir}}
0 commit comments