1313 name : Test
1414 uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1515 with :
16- linux_os_versions : ' ["noble", "jammy", "focal", "rhel-ubi9" ]'
16+ linux_os_versions : ' ["noble"]'
1717 linux_pre_build_command : |
1818 if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy, focal
1919 apt-get update -y
2323
2424 # Debug symbols
2525 apt-get install -y libc6-dbg
26+
27+ apt-get install -y valgrind
28+
29+ ./.github/workflows/dispatch.sh
2630 elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9
2731 dnf update -y
2832
3135
3236 # Debug symbols
3337 dnf debuginfo-install -y glibc
38+
39+ dnf install -y valgrind
3440 elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
3541 yum update -y
3642
@@ -40,10 +46,12 @@ jobs:
4046 # Debug symbols
4147 yum install -y yum-utils
4248 debuginfo-install -y glibc
49+
50+ yum install -y valgrind
4351 fi
44- linux_build_command : ' swift test --no-parallel '
45- linux_swift_versions : ' ["nightly-main", "nightly-6.2" ]'
46- windows_swift_versions : ' ["nightly-main" ]'
52+ linux_build_command : ' swift build --build-tests -Xswiftc -sanitize=thread -Xcc -fsanitize=thread && ASAN_OPTIONS=detect_leaks=0 ./.build/debug/SwiftBuildPackageTests.xctest --testing-library swift-testing '
53+ linux_swift_versions : ' ["nightly-main"]'
54+ windows_swift_versions : ' []'
4755 windows_build_command : ' swift test --no-parallel'
4856 cmake-smoke-test :
4957 name : cmake-smoke-test
0 commit comments