13
13
name : Test
14
14
uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
15
15
with :
16
- linux_os_versions : ' ["noble", "jammy", "focal", "rhel-ubi9" ]'
16
+ linux_os_versions : ' ["noble", "jammy", "focal"]'
17
17
linux_pre_build_command : |
18
18
if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy, focal
19
19
apt-get update -y
23
23
24
24
# Debug symbols
25
25
apt-get install -y libc6-dbg
26
+
27
+ apt-get install -y valgrind
26
28
elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9
27
29
dnf update -y
28
30
31
33
32
34
# Debug symbols
33
35
dnf debuginfo-install -y glibc
36
+
37
+ dnf install -y valgrind
34
38
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
35
39
yum update -y
36
40
@@ -40,10 +44,12 @@ jobs:
40
44
# Debug symbols
41
45
yum install -y yum-utils
42
46
debuginfo-install -y glibc
47
+
48
+ yum install -y valgrind
43
49
fi
44
- linux_build_command : ' swift test --no-parallel '
45
- linux_swift_versions : ' ["nightly-main", "nightly-6.2" ]'
46
- windows_swift_versions : ' ["nightly-main" ]'
50
+ 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 '
51
+ linux_swift_versions : ' ["nightly-main"]'
52
+ windows_swift_versions : ' []'
47
53
windows_build_command : ' swift test --no-parallel'
48
54
cmake-smoke-test :
49
55
name : cmake-smoke-test
0 commit comments