@@ -311,6 +311,7 @@ jobs:
311
311
containerTag : ['37']
312
312
buildType : [RelWithDebInfo]
313
313
runtimeCheck : [asan, tsan]
314
+ python : [/usr/bin/python3.10d]
314
315
protonGitRef :
315
316
- ${{ github.event.inputs.protonBranch || 'main' }}
316
317
- 0.38.0
@@ -322,27 +323,31 @@ jobs:
322
323
container : ' centos'
323
324
containerTag : stream8
324
325
runtimeCheck : OFF
326
+ python : /usr/bin/python3.6-debug
325
327
protonGitRef : ${{ github.event.inputs.protonBranch || 'main' }}
326
328
shard : 1
327
329
shards : 2
328
330
- os : ubuntu-20.04
329
331
container : ' centos'
330
332
containerTag : stream8
331
333
runtimeCheck : OFF
334
+ python : /usr/bin/python3.6-debug
332
335
protonGitRef : ${{ github.event.inputs.protonBranch || 'main' }}
333
336
shard : 2
334
337
shards : 2
335
338
- os : ubuntu-20.04
336
339
container : ' centos'
337
340
containerTag : stream8
338
341
runtimeCheck : OFF
342
+ python : /usr/bin/python3.6-debug
339
343
protonGitRef : 0.38.0
340
344
shard : 1
341
345
shards : 2
342
346
- os : ubuntu-20.04
343
347
container : ' centos'
344
348
containerTag : stream8
345
349
runtimeCheck : OFF
350
+ python : /usr/bin/python3.6-debug
346
351
protonGitRef : 0.38.0
347
352
shard : 2
348
353
shards : 2
@@ -386,10 +391,11 @@ jobs:
386
391
-DENABLE_FUZZ_TESTING=OFF
387
392
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
388
393
-DBUILD_TLS=ON
394
+ -DPython_EXECUTABLE=${{matrix.python}}
389
395
RouterCMakeExtraArgs : >
390
396
-DCMAKE_C_COMPILER_LAUNCHER=ccache
391
397
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
392
- -DPython_EXECUTABLE=/usr/bin/python3
398
+ -DPython_EXECUTABLE=${{matrix.python}}
393
399
-DRUNTIME_CHECK=${{matrix.runtimeCheck}}
394
400
395
401
CCACHE_BASEDIR : ${{github.workspace}}
@@ -431,10 +437,10 @@ jobs:
431
437
432
438
- name : Install Linux build dependencies
433
439
run : |
434
- dnf install -y gcc gcc-c++ elfutils-devel cmake libuuid-devel openssl openssl-devel cyrus-sasl-devel cyrus-sasl-plain swig python3-devel python3-pip make libwebsockets-devel libnghttp2-devel ccache libasan libubsan libtsan
440
+ dnf install -y gcc gcc-c++ elfutils-devel cmake libuuid-devel openssl openssl-devel cyrus-sasl-devel cyrus-sasl-plain swig python3-devel python3-debug python3- pip make libwebsockets-devel libnghttp2-devel ccache libasan libubsan libtsan
435
441
436
442
- name : Install Python build dependencies
437
- run : python3 -m pip install setuptools wheel tox
443
+ run : ${{matrix.python}} -m pip install setuptools wheel tox
438
444
439
445
# https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
440
446
- name : Prepare ccache timestamp
@@ -507,16 +513,24 @@ jobs:
507
513
- name : Upgrade pip
508
514
run : python3 -m pip install --upgrade pip
509
515
516
+ - name : CentOS 8 python3.6-debug needs this to build pip packages from source in next step
517
+ if : ${{ matrix.container == 'centos' }}
518
+ run : |
519
+ dnf install -y libxml2-devel libxslt-devel
520
+
510
521
- name : Install Python runtime/test dependencies
511
- run : python3 -m pip install -r ${{github.workspace}}/skupper-router/requirements-dev.txt
522
+ run : ${{matrix.python}} -m pip install -r ${{github.workspace}}/skupper-router/requirements-dev.txt
512
523
513
524
- name : Install Linux runtime/test dependencies
514
525
run : |
515
526
dnf install -y curl nmap-ncat gdb binutils elfutils elfutils-debuginfod-client findutils file
516
527
dnf debuginfo-install -y python3
517
528
529
+ - name : Replace /usr/bin/python3 with ${{matrix.python}}, for tools such as skmanage
530
+ run : sudo ln -sf ${{matrix.python}} /usr/bin/python3
531
+
518
532
- name : install qpid-proton python wheel
519
- run : python3 -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
533
+ run : ${{matrix.python}} -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
520
534
521
535
- name : CTest
522
536
working-directory : ${{env.RouterBuildDir}}
0 commit comments