@@ -71,26 +71,26 @@ jobs:
71
71
if [ -f ctest_output.log ]; then
72
72
# Find the line with "tests passed" and get everything from there to the end
73
73
SUMMARY_LINE=$(grep -n "tests passed" ctest_output.log | head -1 | cut -d: -f1)
74
-
74
+
75
75
if [ -n "$SUMMARY_LINE" ]; then
76
76
# Get the first line (the summary line)
77
77
FIRST_LINE=$(tail -n +$SUMMARY_LINE ctest_output.log | head -1)
78
78
# Get the multiline summary from the tests passed line onwards
79
- SUMMARY_CONTENT=$(tail -n +$SUMMARY_LINE ctest_output.log | grep -v "Errors while" | tr '\n' '\a')
79
+ SUMMARY_CONTENT=$(tail -n +$SUMMARY_LINE ctest_output.log | grep -v "Errors while running " | tr '\n' '\a')
80
80
# Replace newlines with %0A for GitHub Actions annotation
81
81
SUMMARY_CONTENT=$(echo "$SUMMARY_CONTENT" | tr '\a' '\n' | sed ':a;N;$!ba;s/\n/%0A/g')
82
-
82
+
83
83
# Check if there are failed tests
84
84
if grep -q "tests failed" ctest_output.log; then
85
85
echo "::error title=Test results (openblas): $FIRST_LINE::$SUMMARY_CONTENT"
86
86
else
87
87
echo "::notice title=Test results (openblas): $FIRST_LINE::$SUMMARY_CONTENT"
88
88
fi
89
89
else
90
- echo "::error title=Test Error ::Could not find test summary in ctest output"
90
+ echo "::warning title=Test Warning ::Could not find test summary in ctest output"
91
91
fi
92
92
else
93
- echo "::error title=Test Error ::Could not find ctest output file"
93
+ echo "::warning title=Test Warning ::Could not find ctest output file"
94
94
fi
95
95
96
96
ctest_linux_dyn_mkl :
@@ -235,26 +235,26 @@ jobs:
235
235
if [ -f ctest_output.log ]; then
236
236
# Find the line with "tests passed" and get everything from there to the end
237
237
SUMMARY_LINE=$(grep -n "tests passed" ctest_output.log | head -1 | cut -d: -f1)
238
-
238
+
239
239
if [ -n "$SUMMARY_LINE" ]; then
240
240
# Get the first line (the summary line)
241
241
FIRST_LINE=$(tail -n +$SUMMARY_LINE ctest_output.log | head -1)
242
242
# Get the multiline summary from the tests passed line onwards
243
243
SUMMARY_CONTENT=$(tail -n +$SUMMARY_LINE ctest_output.log | grep -v "Errors while running" | tr '\n' '\a')
244
244
# Replace newlines with %0A for GitHub Actions annotation
245
245
SUMMARY_CONTENT=$(echo "$SUMMARY_CONTENT" | tr '\a' '\n' | sed ':a;N;$!ba;s/\n/%0A/g')
246
-
246
+
247
247
# Check if there are failed tests
248
248
if grep -q "tests failed" ctest_output.log; then
249
249
echo "::error title=Test results (mkl): $FIRST_LINE::$SUMMARY_CONTENT"
250
250
else
251
251
echo "::notice title=Test results (mkl): $FIRST_LINE::$SUMMARY_CONTENT"
252
252
fi
253
253
else
254
- echo "::error title=Test Error ::Could not find test summary in ctest output"
254
+ echo "::warning title=Test Warning ::Could not find test summary in ctest output"
255
255
fi
256
256
else
257
- echo "::error title=Test Error ::Could not find ctest output file"
257
+ echo "::warning title=Test Warning ::Could not find ctest output file"
258
258
fi
259
259
260
260
test_linux_mkl_binaries :
@@ -299,8 +299,7 @@ jobs:
299
299
if : steps.cache-oneapi.outputs.cache-hit != 'true'
300
300
run : |
301
301
curl -L $LINUX_BASEKIT_URL -o install.sh
302
- #sudo sh install.sh -a --action install --components intel.oneapi.lin.mkl.devel --eula=accept -s
303
- sudo sh install.sh -a --action install --eula=accept -s
302
+ sudo sh install.sh -a --action install --components intel.oneapi.lin.mkl.devel --eula=accept -s
304
303
305
304
- name : Check branch name
306
305
shell : bash
@@ -603,7 +602,7 @@ jobs:
603
602
604
603
test_windows_mkl_binaries :
605
604
name : Test Windows MKL binaries from build workflow
606
- runs-on : windows-latest
605
+ runs-on : windows-2025
607
606
needs : [] # Don't depend on other test jobs
608
607
env :
609
608
BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
@@ -790,7 +789,7 @@ jobs:
790
789
791
790
test_windows_openblas_binaries :
792
791
name : Test Windows OpenBLAS binaries from build workflow
793
- runs-on : windows-latest
792
+ runs-on : windows-2025
794
793
needs : [] # Don't depend on other test jobs
795
794
env :
796
795
BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
@@ -1086,29 +1085,29 @@ jobs:
1086
1085
elif command -v sed &> /dev/null; then
1087
1086
sed -i.bak 's/\r$//' ctest_output.log 2>/dev/null || true
1088
1087
fi
1089
-
1088
+
1090
1089
# Find the line with "tests passed" and get everything from there to the end
1091
1090
SUMMARY_LINE=$(grep -n "tests passed" ctest_output.log 2>/dev/null | head -1 | cut -d: -f1)
1092
-
1091
+
1093
1092
if [ -n "$SUMMARY_LINE" ]; then
1094
1093
# Get the first line (the summary line)
1095
1094
FIRST_LINE=$(tail -n +$SUMMARY_LINE ctest_output.log | head -1)
1096
1095
# Get the multiline summary from the tests passed line onwards
1097
1096
SUMMARY_CONTENT=$(tail -n +$SUMMARY_LINE ctest_output.log | grep -v "Errors while running" | head -20)
1098
1097
# Replace newlines with %0A for GitHub Actions annotation
1099
1098
SUMMARY_CONTENT=$(echo "$SUMMARY_CONTENT" | sed ':a;N;$!ba;s/\n/%0A/g')
1100
-
1099
+
1101
1100
# Check if there are failed tests
1102
1101
if grep -q "tests failed" ctest_output.log; then
1103
- echo "::error title=Test results (windows mkl):: $FIRST_LINE - $SUMMARY_CONTENT"
1102
+ echo "::error title=Test results (windows mkl): $FIRST_LINE:: $SUMMARY_CONTENT"
1104
1103
else
1105
- echo "::notice title=Test results (windows mkl):: $FIRST_LINE - $SUMMARY_CONTENT"
1104
+ echo "::notice title=Test results (windows mkl): $FIRST_LINE:: $SUMMARY_CONTENT"
1106
1105
fi
1107
1106
else
1108
- echo "::warning title=Test Warning::Could not find test summary in ctest output (tests may still be running or output format changed) "
1107
+ echo "::warning title=Test Warning::Could not find test summary in ctest output"
1109
1108
fi
1110
1109
else
1111
- echo "::warning title=Test Warning::Could not find ctest output file (tests may not have run) "
1110
+ echo "::warning title=Test Warning::Could not find ctest output file"
1112
1111
fi
1113
1112
exit 0
1114
1113
0 commit comments