Skip to content

Commit e65bd9b

Browse files
committed
Move -enableThreadSanitizer YES to CI script since it generates a warning in the project due to duplicate paths when using the thread sanitizer (TSan)
1 parent 690406f commit e65bd9b

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.github/workflows/CI-iOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: /usr/bin/xcodebuild -version
2929

3030
- name: Build and Test
31-
run: xcodebuild clean build test -workspace EssentialApp/EssentialApp.xcworkspace -scheme "CI_iOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 17 Pro,OS=26.0" ONLY_ACTIVE_ARCH=YES
31+
run: xcodebuild clean build test -workspace EssentialApp/EssentialApp.xcworkspace -scheme "CI_iOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 17 Pro,OS=26.0" -enableThreadSanitizer YES ONLY_ACTIVE_ARCH=YES

.github/workflows/CI-macOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: /usr/bin/xcodebuild -version
2929

3030
- name: Build and Test
31-
run: xcodebuild clean build test -project EssentialFeed/EssentialFeed.xcodeproj -scheme "CI_macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
31+
run: xcodebuild clean build test -project EssentialFeed/EssentialFeed.xcodeproj -scheme "CI_macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" -enableThreadSanitizer YES ONLY_ACTIVE_ARCH=YES

EssentialApp/EssentialApp.xcworkspace/xcshareddata/xcschemes/CI_iOS.xcscheme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES"
30-
enableThreadSanitizer = "YES"
3130
codeCoverageEnabled = "YES"
3231
onlyGenerateCoverageForSpecifiedTargets = "YES">
3332
<MacroExpansion>

EssentialFeed/EssentialFeed.xcodeproj/xcshareddata/xcschemes/CI_macOS.xcscheme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES"
30-
enableThreadSanitizer = "YES"
3130
codeCoverageEnabled = "YES"
3231
onlyGenerateCoverageForSpecifiedTargets = "YES">
3332
<MacroExpansion>

0 commit comments

Comments
 (0)