Skip to content

Commit 835caf1

Browse files
authored
Introduce OpenBSD platform icon (#3713)
When the platform is OpenBSD, add an appropriate "platform" png in the public directory for use. <img width="329" height="66" alt="image" src="https://github.com/user-attachments/assets/2145c95b-a8c7-4768-bb03-6e9a15443248" /> Image taken from: https://www.streamlinehq.com/icons/download/openbsd--31088 Closes: #3710
1 parent 5b7bc92 commit 835caf1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

app/cdash/app/Controller/Api/Index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ public function generateBuildResponseFromRow(array $build_array): array|false
674674
$buildplatform = 'linux';
675675
} elseif (strtolower(substr($build_array['osname'], 0, 7)) === 'freebsd') {
676676
$buildplatform = 'freebsd';
677+
} elseif (strtolower(substr($build_array['osname'], 0, 7)) === 'openbsd') {
678+
$buildplatform = 'openbsd';
677679
} elseif (strtolower(substr($build_array['osname'], 0, 3)) === 'gnu') {
678680
$buildplatform = 'gnu';
679681
}

public/img/platform_openbsd.png

354 Bytes
Loading

0 commit comments

Comments
 (0)