Skip to content

Commit 9460a7e

Browse files
committed
[DO NOT MERGE] Valgrind testing
1 parent 1e9922d commit 9460a7e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
2424
# Debug symbols
2525
apt-get install -y libc6-dbg
26+
27+
apt-get install -y valgrind
2628
elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9
2729
dnf update -y
2830
@@ -31,6 +33,8 @@ jobs:
3133
3234
# Debug symbols
3335
dnf debuginfo-install -y glibc
36+
37+
dnf install -y valgrind
3438
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
3539
yum update -y
3640
@@ -40,11 +44,14 @@ jobs:
4044
# Debug symbols
4145
yum install -y yum-utils
4246
debuginfo-install -y glibc
47+
48+
yum install -y valgrind
4349
fi
44-
linux_build_command: 'swift test --no-parallel'
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'
4551
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
4652
windows_swift_versions: '["nightly-main"]'
4753
windows_build_command: 'swift test --no-parallel'
54+
enable_windows_checks: false
4855
soundness:
4956
name: Soundness
5057
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main

0 commit comments

Comments
 (0)