Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
chore: Add ASan to swift tests (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsantell committed Jun 28, 2023
1 parent a5d4f4d commit c8e7621
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/run_test_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
sed -i '' -e "s#url: \"[^\"]*\",#path: \"./LibNoosphere.xcframework\"),#" ./Package.swift
sed -i '' -e "s#checksum: \"[^\"]*\"),##" ./Package.swift
swift build
swift test
# Enable malloc debugging features
# https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html
export MallocPreScribble=1
export MallocScribble=1
swift build --sanitize=address
swift test --sanitize=address
run-test-suite-windows:
runs-on: windows-latest
Expand Down

0 comments on commit c8e7621

Please sign in to comment.