1- # Runs tests on multi-numa machines
1+ # Runs tests on multi-numa machine
22name : MultiNuma
33
44on : [workflow_call]
2020
2121 strategy :
2222 matrix :
23- os : [ubuntu-22.04, rhel-9.1, sles-15 ]
23+ os : [ubuntu-22.04, rhel-9.1]
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+
3437 - name : Configure build
3538 run : >
3639 cmake
@@ -50,24 +53,24 @@ jobs:
5053 run : cmake --build ${{github.workspace}}/build -j $(nproc)
5154
5255 - name : Run tests
53- if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
56+ if : matrix.os != 'rhel-9.1'
5457 working-directory : ${{github.workspace}}/build
5558 run : ctest --output-on-failure --test-dir test
5659
57- # On RHEL/SLES , hwloc version is just a little too low.
60+ # On RHEL, hwloc version is just a little too low.
5861 # Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation.
5962 # TODO: fix issue #560
6063 # TODO: add issue for -E test_init_teardown - it is not clear why it fails
61- - name : Run tests (on RHEL/SLES )
62- if : ( matrix.os == 'rhel-9.1') || (matrix.os == 'sles-15')
64+ - name : Run tests (on RHEL)
65+ if : matrix.os == 'rhel-9.1'
6366 working-directory : ${{github.workspace}}/build
6467 run : |
6568 ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes|test_init_teardown"
6669 ./test/test_provider_os_memory_multiple_numa_nodes \
6770 --gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
6871
6972 - name : Run NUMA tests under valgrind
70- if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
73+ if : matrix.os != 'rhel-9.1'
7174 run : |
7275 ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.NUMA_TESTS}}"
7376 ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.NUMA_TESTS}}"
8891 with :
8992 name : ${{env.COVERAGE_NAME}}-${{matrix.os}}-shared-${{matrix.shared_library}}
9093 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