|
98 | 98 | - name: Build UMF |
99 | 99 | run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}} |
100 | 100 |
|
101 | | - - name: Run tests |
102 | | - working-directory: ${{env.BUILD_DIR}} |
103 | | - run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test |
104 | | - |
105 | | - - name: Run examples |
106 | | - working-directory: ${{env.BUILD_DIR}} |
107 | | - run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}} |
108 | | - |
109 | | - - name: Run benchmarks |
110 | | - working-directory: ${{env.BUILD_DIR}} |
111 | | - run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded |
112 | | - |
113 | | - - name: Check coverage |
114 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
115 | | - working-directory: ${{env.BUILD_DIR}} |
116 | | - run: | |
117 | | - export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}} |
118 | | - echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME" |
119 | | - ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME |
120 | | - mkdir -p ${{env.COVERAGE_DIR}} |
121 | | - mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}} |
122 | | -
|
123 | | - - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
124 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
125 | | - with: |
126 | | - name: ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}} |
127 | | - path: ${{env.COVERAGE_DIR}} |
128 | | - |
129 | 101 | gpu-CUDA: |
130 | 102 | name: CUDA |
131 | 103 | env: |
@@ -178,31 +150,3 @@ jobs: |
178 | 150 |
|
179 | 151 | - name: Build UMF |
180 | 152 | run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}} |
181 | | - |
182 | | - - name: Run tests |
183 | | - working-directory: ${{env.BUILD_DIR}} |
184 | | - run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test |
185 | | - |
186 | | - - name: Run examples |
187 | | - working-directory: ${{env.BUILD_DIR}} |
188 | | - run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}} |
189 | | - |
190 | | - - name: Run benchmarks |
191 | | - working-directory: ${{env.BUILD_DIR}} |
192 | | - run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded |
193 | | - |
194 | | - - name: Check coverage |
195 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
196 | | - working-directory: ${{env.BUILD_DIR}} |
197 | | - run: | |
198 | | - export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}} |
199 | | - echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME" |
200 | | - ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME |
201 | | - mkdir -p ${{env.COVERAGE_DIR}} |
202 | | - mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}} |
203 | | -
|
204 | | - - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
205 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }} |
206 | | - with: |
207 | | - name: ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}} |
208 | | - path: ${{env.COVERAGE_DIR}} |
0 commit comments