1- # Runs tests on multi-numa machine
1+ # Runs tests on multi-numa machines
22name : MultiNuma
33
44on : [workflow_call]
2020
2121 strategy :
2222 matrix :
23- os : [ubuntu-22.04, rhel-9.1]
23+ os : [ubuntu-22.04, rhel-9.1, sles-15 ]
2424 build_type : [Debug, Release]
2525 shared_library : ['ON', 'OFF']
2626 runs-on : ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"]
3131 with :
3232 fetch-depth : 0
3333
34- - name : Get information about platform
35- run : .github/scripts/get_system_info.sh
36-
3734 - name : Configure build
3835 run : >
3936 cmake
@@ -53,24 +50,24 @@ jobs:
5350 run : cmake --build ${{github.workspace}}/build -j $(nproc)
5451
5552 - name : Run tests
56- if : matrix.os != 'rhel-9.1'
53+ if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
5754 working-directory : ${{github.workspace}}/build
5855 run : ctest --output-on-failure --test-dir test
5956
60- # On RHEL, hwloc version is just a little too low.
57+ # On RHEL/SLES , hwloc version is just a little too low.
6158 # Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation.
6259 # TODO: fix issue #560
6360 # TODO: add issue for -E test_init_teardown - it is not clear why it fails
64- - name : Run tests (on RHEL)
65- if : matrix.os == 'rhel-9.1'
61+ - name : Run tests (on RHEL/SLES )
62+ if : ( matrix.os == 'rhel-9.1') || (matrix.os == 'sles-15')
6663 working-directory : ${{github.workspace}}/build
6764 run : |
6865 ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes|test_init_teardown"
6966 ./test/test_provider_os_memory_multiple_numa_nodes \
7067 --gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
7168
7269 - name : Run NUMA tests under valgrind
73- if : matrix.os != 'rhel-9.1'
70+ if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
7471 run : |
7572 ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.NUMA_TESTS}}"
7673 ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.NUMA_TESTS}}"
9188 with :
9289 name : ${{env.COVERAGE_NAME}}-${{matrix.os}}-shared-${{matrix.shared_library}}
9390 path : ${{env.COVERAGE_DIR}}
91+
92+ - name : Get information about platform
93+ if : always()
94+ run : .github/scripts/get_system_info.sh
0 commit comments