ci: Exclude cyclonedx on Ubuntu 14.04

```
+ cyclonedx --version
cyclonedx: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cyclonedx)
cyclonedx: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cyclonedx)
```
This commit is contained in:
Taiki Endo
2025-06-23 01:58:56 +09:00
parent c9851b9ded
commit 74fc1f2d2a
2 changed files with 5 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ jobs:
- run: rm -- Cargo.toml
- name: Generate tool list
id: tool-list
run: tools/ci/tool-list.sh >>"${GITHUB_OUTPUT}"
run: tools/ci/tool-list.sh "" "${{ matrix.container }}" >>"${GITHUB_OUTPUT}"
# remove bash installed by checkout-action
- run: apk --no-cache del bash
shell: sh

View File

@@ -62,6 +62,7 @@ case "${1:-}" in
exit 1
;;
esac
runner="${2:-}"
case "$(uname -s)" in
Linux)
host_os=linux
@@ -111,6 +112,9 @@ case "$(uname -s)" in
if ! type -P apt-get >/dev/null; then
incompat_tools+=(cyclonedx)
fi
if [[ "${runner}" == "ubuntu:14.04" ]]; then
incompat_tools+=(cyclonedx)
fi
;;
Darwin) host_os=macos ;;
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;