|
12 | 12 | os:
|
13 | 13 | description: A list of OSes
|
14 | 14 | type: string
|
15 |
| - default: "['Ubuntu', 'Windows']" |
| 15 | + default: "['Ubuntu']" |
16 | 16 | build_type:
|
17 | 17 | description: A list of build types
|
18 | 18 | type: string
|
19 |
| - default: "['Debug', 'Release']" |
| 19 | + default: "['Debug']" |
20 | 20 | shared_lib:
|
21 | 21 | description: A list of options for building shared library
|
22 | 22 | type: string
|
|
49 | 49 | - os: 'Ubuntu'
|
50 | 50 | compiler: {c: gcc, cxx: g++}
|
51 | 51 | number_of_processors: '$(nproc)'
|
52 |
| - - os: 'Windows' |
53 |
| - compiler: {c: cl, cxx: cl} |
54 |
| - number_of_processors: '$Env:NUMBER_OF_PROCESSORS' |
55 | 52 |
|
56 | 53 | runs-on: ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
|
57 | 54 | steps:
|
@@ -105,28 +102,16 @@ jobs:
|
105 | 102 |
|
106 | 103 | - name: Run tests
|
107 | 104 | working-directory: ${{env.BUILD_DIR}}
|
108 |
| - run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test |
| 105 | + run: ctest -C ${{matrix.build_type}} -V -R alone |
109 | 106 |
|
110 | 107 | - name: Run examples
|
111 | 108 | working-directory: ${{env.BUILD_DIR}}
|
112 | 109 | run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}}
|
113 | 110 |
|
114 |
| - - name: Run benchmarks |
| 111 | + - name: Run benchmarks DEBUG |
115 | 112 | working-directory: ${{env.BUILD_DIR}}
|
116 |
| - run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded |
| 113 | + run: UMF_LOG="level:info;flush:info;output:stderr;pid:yes" ./benchmark/umf-bench-ubench |
117 | 114 |
|
118 |
| - - name: Check coverage |
119 |
| - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
| 115 | + - name: Run benchmarks |
120 | 116 | working-directory: ${{env.BUILD_DIR}}
|
121 |
| - run: | |
122 |
| - export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}} |
123 |
| - echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME" |
124 |
| - ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME |
125 |
| - mkdir -p ${{env.COVERAGE_DIR}} |
126 |
| - mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}} |
127 |
| -
|
128 |
| - - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
129 |
| - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
130 |
| - with: |
131 |
| - name: ${{env.COVERAGE_NAME}}-${{matrix.os}}-${{matrix.build_type}}-shared-${{matrix.shared_library}} |
132 |
| - path: ${{env.COVERAGE_DIR}} |
| 117 | + run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded |
0 commit comments