@@ -100,11 +100,6 @@ jobs:
100100 run : |
101101 ${{ matrix.install }}
102102 sudo apt install -y ninja-build python3-venv python3-pip
103- python3 -m venv ${{github.workspace}}/test_venv
104- source ${{github.workspace}}/test_venv/bin/activate
105- pip install -r ${{github.workspace}}/requirements.txt
106- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
107-
108103
109104 - name : Restore CPM cache
110105 env :
@@ -132,6 +127,13 @@ jobs:
132127 path : ~/cpm-cache
133128 key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
134129
130+ - name : Install python test requirements
131+ run : |
132+ python3 -m venv ${{github.workspace}}/test_venv
133+ source ${{github.workspace}}/test_venv/bin/activate
134+ pip install -r ${{github.workspace}}/requirements.txt
135+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
136+
135137 - name : Build Unit Tests
136138 run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -v -t build_unit_tests
137139
@@ -184,10 +186,6 @@ jobs:
184186 run : |
185187 ${{ matrix.install }}
186188 sudo apt install -y ninja-build python3-venv python3-pip
187- python3 -m venv ${{github.workspace}}/test_venv
188- source ${{github.workspace}}/test_venv/bin/activate
189- pip install -r ${{github.workspace}}/requirements.txt
190- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
191189
192190 - name : Restore CPM cache
193191 env :
@@ -215,6 +213,13 @@ jobs:
215213 path : ~/cpm-cache
216214 key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
217215
216+ - name : Install python test requirements
217+ run : |
218+ python3 -m venv ${{github.workspace}}/test_venv
219+ source ${{github.workspace}}/test_venv/bin/activate
220+ pip install -r ${{github.workspace}}/requirements.txt
221+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
222+
218223 - name : Build Unit Tests
219224 run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -v -t build_unit_tests
220225
@@ -263,7 +268,7 @@ jobs:
263268 CC : " /usr/lib/llvm-${{env.DEFAULT_LLVM_VERSION}}/bin/clang"
264269 CXX : " /usr/lib/llvm-${{env.DEFAULT_LLVM_VERSION}}/bin/clang++"
265270 PR_TARGET_BRANCH : ${{ steps.target_branch.outputs.branch }}
266- run : cmake -B ${{github.workspace}}/build -DCMAKE_CXX_STANDARD=${{env.DEFAULT_CXX_STANDARD}} -DCPM_SOURCE_CACHE=~/cpm-cache
271+ run : cmake -B ${{github.workspace}}/build -DCMAKE_CXX_STANDARD=17 -DCPM_SOURCE_CACHE=~/cpm-cache
267272
268273 - name : Save CPM cache
269274 env :
@@ -303,10 +308,6 @@ jobs:
303308 run : |
304309 ${{ matrix.install }}
305310 sudo apt install -y ninja-build python3-venv python3-pip
306- python3 -m venv ${{github.workspace}}/test_venv
307- source ${{github.workspace}}/test_venv/bin/activate
308- pip install -r ${{github.workspace}}/requirements.txt
309- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
310311
311312 - name : Restore CPM cache
312313 env :
@@ -335,6 +336,13 @@ jobs:
335336 path : ~/cpm-cache
336337 key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
337338
339+ - name : Install python test requirements
340+ run : |
341+ python3 -m venv ${{github.workspace}}/test_venv
342+ source ${{github.workspace}}/test_venv/bin/activate
343+ pip install -r ${{github.workspace}}/requirements.txt
344+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
345+
338346 # https://github.com/actions/runner-images/issues/9524
339347 - name : Fix kernel mmap rnd bits
340348 # Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
@@ -353,10 +361,6 @@ jobs:
353361 - name : Install build tools
354362 run : |
355363 sudo apt update && sudo apt install -y gcc-${{env.DEFAULT_GCC_VERSION}} g++-${{env.DEFAULT_GCC_VERSION}} ninja-build valgrind python3-venv python3-pip
356- python3 -m venv ${{github.workspace}}/test_venv
357- source ${{github.workspace}}/test_venv/bin/activate
358- pip install -r ${{github.workspace}}/requirements.txt
359- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
360364
361365 - name : Restore CPM cache
362366 env :
@@ -384,6 +388,13 @@ jobs:
384388 path : ~/cpm-cache
385389 key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
386390
391+ - name : Install python test requirements
392+ run : |
393+ python3 -m venv ${{github.workspace}}/test_venv
394+ source ${{github.workspace}}/test_venv/bin/activate
395+ pip install -r ${{github.workspace}}/requirements.txt
396+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
397+
387398 - name : Build Unit Tests
388399 run : cmake --build ${{github.workspace}}/build -t build_unit_tests
389400
@@ -428,10 +439,6 @@ jobs:
428439 - name : Install build tools
429440 run : |
430441 sudo apt update && sudo apt install -y clang-${{env.MULL_LLVM_VERSION}} ninja-build python3-venv python3-pip
431- python3 -m venv ${{github.workspace}}/test_venv
432- source ${{github.workspace}}/test_venv/bin/activate
433- pip install -r ${{github.workspace}}/requirements.txt
434- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
435442
436443 - name : Install mull
437444 env :
@@ -466,12 +473,19 @@ jobs:
466473 path : ~/cpm-cache
467474 key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
468475
476+ - name : Install python test requirements
477+ run : |
478+ python3 -m venv ${{github.workspace}}/test_venv
479+ source ${{github.workspace}}/test_venv/bin/activate
480+ pip install -r ${{github.workspace}}/requirements.txt
481+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
482+
469483 - name : Build and run mull tests
470484 run : cmake --build build -t mull_tests
471485
472486 merge_ok :
473487 runs-on : ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04
474- needs : [build_and_test_24, build_and_test_22, quality_checks_pass, sanitize, valgrind]
488+ needs : [build_and_test_24, build_and_test_22, mutate, quality_checks_pass, sanitize, valgrind]
475489 if : ${{ !cancelled() }}
476490 steps :
477491 - name : Enable merge
0 commit comments