Skip to content

Commit 6b5c2f9

Browse files
committed
Include MacOS version in CI summary
1 parent dae340e commit 6b5c2f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/reusable.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ jobs:
11231123
mingw_entries = load_from_env('MINGW_MATRIX_ENTRIES')
11241124
cmake_entries = load_from_env('CMAKE_MATRIX_ENTRIES')
11251125
posix_entries = load_from_env('POSIX_MATRIX_ENTRIES')
1126-
linux_entries = [e for e in posix_entries if 'ubuntu' in e.get('os', '') or 'ubuntu' in e.get('container', '') or 'arm' in e.get('os', '')]
1126+
linux_entries = [e for e in posix_entries if 'ubuntu' in e.get('os', '') or 'ubuntu' in e.get('container', '')]
11271127
macos_entries = [e for e in posix_entries if 'macos' in e.get('os', '')]
11281128
11291129
# B2 build options (apply to all B2 jobs)
@@ -1176,13 +1176,13 @@ jobs:
11761176
11771177
if macos_entries:
11781178
summary += "## macOS\n\n"
1179-
summary += "| Job | Compiler | C++ std |\n"
1180-
summary += "|-----|----------|---------|\n"
1179+
summary += "| Job | Compiler | C++ std | OS |\n"
1180+
summary += "|-----|----------|---------|----|\n"
11811181
for e in sorted(macos_entries, key=sort_key):
11821182
compiler = e['compiler']
11831183
name = e.get('name', compiler.replace('-', ' ').capitalize())
11841184
cxxstd = e.get('cxxstd', '[default]')
1185-
summary += f"| {name} | {compiler} | {cxxstd} |\n"
1185+
summary += f"| {name} | {compiler} | {cxxstd} | {e['os'].replace('-', ' ').upper()} |\n"
11861186
summary += "\n"
11871187
11881188
if windows_entries or mingw_entries:

0 commit comments

Comments
 (0)