coreutils/.github/workflows
Cả thế giới là Rust 02312bfffd
fix: Gate SELinux to Linux and add cross-platform CI tests (#8795)
Gate SELinux functionality to Linux-only and provide stub implementations
for chcon/runcon on non-Linux platforms to maintain cross-platform builds.

Changes:
- Gate all SELinux code with target_os = "linux" checks
- Add stub main() for chcon/runcon on non-Linux with user-friendly errors
- Add CI job to verify stubs build correctly on macOS and Windows
- Update ls to check both selinux feature AND target_os

Benefits:
- Fixes build failures on macOS/Windows (#8581, #7996, #7695, #6491)
- Maintains workspace buildability across all platforms
- Provides clear error messages instead of silent failures
- Prevents accidental SELinux usage on unsupported platforms

CI Testing:
- New 'Build/SELinux-Stubs (Non-Linux)' job tests macOS and Windows
- Verifies stub binaries are created and compilation succeeds
- Validates full workspace builds with stubs present

Addresses maintainer feedback in PR #8795
2025-10-05 14:23:59 +02:00
..
android.yml chore(deps): update actions/checkout action to v5 2025-08-11 15:31:34 +00:00
CheckScripts.yml chore(deps): update mfinelli/setup-shfmt action to v4 2025-08-22 21:42:48 +00:00
CICD.yml fix: Gate SELinux to Linux and add cross-platform CI tests (#8795) 2025-10-05 14:23:59 +02:00
code-quality.yml github/action: improve the clippy run 2025-09-25 22:05:22 +02:00
devcontainer.yml Add devcontainer setup and small related fixes 2025-08-18 07:34:16 +00:00
documentation.yml chore(deps): update actions/checkout action to v5 2025-09-12 08:15:17 +00:00
FixPR.yml chore(deps): update actions/checkout action to v5 2025-08-11 15:31:34 +00:00
freebsd.yml chore(deps): update vmactions/freebsd-vm action to v1.2.4 2025-09-21 20:54:23 +00:00
fuzzing.yml uufuzz: add examples and them in the CI 2025-09-06 12:19:40 +02:00
GnuComment.yml chore(deps): update actions/github-script action to v8 2025-09-04 17:47:37 +00:00
GnuTests.yml upgrade to GNU coreutils 9.8 as ref 2025-09-23 16:03:15 +02:00
ignore-intermittent.txt Add tests/tail/overlay-headers to the intermittent list 2025-09-24 21:15:34 +02:00
l10n.yml gh/action: fix a test as we changed the permissions on the files 2025-09-15 11:33:12 +02:00
wsl2.yml chore(deps): update actions/checkout action to v5 2025-08-11 15:31:34 +00:00