@@ -300,6 +300,7 @@ jobs:
300
300
containerTag : ['35']
301
301
buildType : [RelWithDebInfo]
302
302
runtimeCheck : [asan, tsan]
303
+ python : [/usr/bin/python3.10d]
303
304
protonGitRef :
304
305
- ${{ github.event.inputs.protonBranch || 'main' }}
305
306
- 0.37.0
@@ -311,27 +312,31 @@ jobs:
311
312
container : ' centos'
312
313
containerTag : stream8
313
314
runtimeCheck : OFF
315
+ python : /usr/bin/python3.6-debug
314
316
protonGitRef : ${{ github.event.inputs.protonBranch || 'main' }}
315
317
shard : 1
316
318
shards : 2
317
319
- os : ubuntu-20.04
318
320
container : ' centos'
319
321
containerTag : stream8
320
322
runtimeCheck : OFF
323
+ python : /usr/bin/python3.6-debug
321
324
protonGitRef : ${{ github.event.inputs.protonBranch || 'main' }}
322
325
shard : 2
323
326
shards : 2
324
327
- os : ubuntu-20.04
325
328
container : ' centos'
326
329
containerTag : stream8
327
330
runtimeCheck : OFF
331
+ python : /usr/bin/python3.6-debug
328
332
protonGitRef : 0.37.0
329
333
shard : 1
330
334
shards : 2
331
335
- os : ubuntu-20.04
332
336
container : ' centos'
333
337
containerTag : stream8
334
338
runtimeCheck : OFF
339
+ python : /usr/bin/python3.6-debug
335
340
protonGitRef : 0.37.0
336
341
shard : 2
337
342
shards : 2
@@ -375,10 +380,11 @@ jobs:
375
380
-DENABLE_FUZZ_TESTING=OFF
376
381
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
377
382
-DBUILD_TLS=ON
383
+ -DPython_EXECUTABLE=${{matrix.python}}
378
384
RouterCMakeExtraArgs : >
379
385
-DCMAKE_C_COMPILER_LAUNCHER=ccache
380
386
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
381
- -DPython_EXECUTABLE=/usr/bin/python3
387
+ -DPython_EXECUTABLE=${{matrix.python}}
382
388
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
383
389
384
390
CCACHE_BASEDIR : ${{github.workspace}}
@@ -413,10 +419,10 @@ jobs:
413
419
414
420
- name : Install Linux build dependencies
415
421
run : |
416
- dnf install -y gcc gcc-c++ cmake libuuid-devel openssl-devel cyrus-sasl-devel cyrus-sasl-plain swig python3-devel python3-pip make libwebsockets-devel libnghttp2-devel ccache libasan libubsan libtsan
422
+ dnf install -y gcc gcc-c++ cmake libuuid-devel openssl-devel cyrus-sasl-devel cyrus-sasl-plain swig python3-devel python3-debug python3- pip make libwebsockets-devel libnghttp2-devel ccache libasan libubsan libtsan
417
423
418
424
- name : Install Python build dependencies
419
- run : python3 -m pip install setuptools wheel tox
425
+ run : ${{matrix.python}} -m pip install setuptools wheel tox
420
426
421
427
# https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
422
428
- name : Prepare ccache timestamp
@@ -489,16 +495,24 @@ jobs:
489
495
- name : Upgrade pip
490
496
run : python3 -m pip install --upgrade pip
491
497
498
+ - name : CentOS 8 python3.6-debug needs this to build pip packages from source in next step
499
+ if : ${{ matrix.container == 'centos' }}
500
+ run : |
501
+ dnf install -y libxml2-devel libxslt-devel
502
+
492
503
- name : Install Python runtime/test dependencies
493
- run : python3 -m pip install -r ${{github.workspace}}/skupper-router/requirements-dev.txt
504
+ run : ${{matrix.python}} -m pip install -r ${{github.workspace}}/skupper-router/requirements-dev.txt
494
505
495
506
- name : Install Linux runtime/test dependencies
496
507
run : |
497
508
dnf install -y curl nmap-ncat gdb binutils elfutils elfutils-debuginfod-client findutils file
498
509
dnf debuginfo-install -y python3
499
510
511
+ - name : Replace /usr/bin/python3 with ${{matrix.python}}, for tools such as skmanage
512
+ run : sudo ln -sf ${{matrix.python}} /usr/bin/python3
513
+
500
514
- name : install qpid-proton python wheel
501
- run : python3 -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
515
+ run : ${{matrix.python}} -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
502
516
503
517
- name : CTest
504
518
working-directory : ${{env.RouterBuildDir}}
0 commit comments