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
28
+
29
+ ./.github/workflows/dispatch.sh
26
30
elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9
27
31
dnf update -y
28
32
31
35
32
36
# Debug symbols
33
37
dnf debuginfo-install -y glibc
38
+
39
+ dnf install -y valgrind
34
40
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
35
41
yum update -y
36
42
@@ -40,10 +46,12 @@ jobs:
40
46
# Debug symbols
41
47
yum install -y yum-utils
42
48
debuginfo-install -y glibc
49
+
50
+ yum install -y valgrind
43
51
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 : ' []'
47
55
windows_build_command : ' swift test --no-parallel'
48
56
cmake-smoke-test :
49
57
name : cmake-smoke-test
0 commit comments