1
- # Runs tests on multi-numa machine
1
+ # Runs tests on multi-numa machines
2
2
name : MultiNuma
3
3
4
4
on : [workflow_call]
20
20
21
21
strategy :
22
22
matrix :
23
- os : [ubuntu-22.04, rhel-9.1]
23
+ os : [ubuntu-22.04, rhel-9.1, sles-15 ]
24
24
build_type : [Debug, Release]
25
25
shared_library : ['ON', 'OFF']
26
26
runs-on : ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"]
31
31
with :
32
32
fetch-depth : 0
33
33
34
- - name : Get information about platform
35
- run : .github/scripts/get_system_info.sh
36
-
37
34
- name : Configure build
38
35
run : >
39
36
cmake
@@ -53,24 +50,24 @@ jobs:
53
50
run : cmake --build ${{github.workspace}}/build -j $(nproc)
54
51
55
52
- name : Run tests
56
- if : matrix.os != 'rhel-9.1'
53
+ if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
57
54
working-directory : ${{github.workspace}}/build
58
55
run : ctest --output-on-failure --test-dir test
59
56
60
- # On RHEL, hwloc version is just a little too low.
57
+ # On RHEL/SLES , hwloc version is just a little too low.
61
58
# Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation.
62
59
# TODO: fix issue #560
63
60
# 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')
66
63
working-directory : ${{github.workspace}}/build
67
64
run : |
68
65
ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes|test_init_teardown"
69
66
./test/test_provider_os_memory_multiple_numa_nodes \
70
67
--gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
71
68
72
69
- name : Run NUMA tests under valgrind
73
- if : matrix.os != 'rhel-9.1'
70
+ if : ( matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15')
74
71
run : |
75
72
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.NUMA_TESTS}}"
76
73
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.NUMA_TESTS}}"
91
88
with :
92
89
name : ${{env.COVERAGE_NAME}}-${{matrix.os}}-shared-${{matrix.shared_library}}
93
90
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