Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tayloraswift committed Oct 30, 2024
1 parent eb564db commit d5cc940
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/GeneratePackageSymbolGraphs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ set -e

swift --version

.build/release/ssgc -u /home/ubuntu/6.0.1/x86_64/usr \
.build/release/ssgc -u $SWIFT_INSTALLATION \
-n swift \
-o TestPackages/swift.bson

.build/release/ssgc -u /home/ubuntu/6.0.1/x86_64/usr \
.build/release/ssgc -u $SWIFT_INSTALLATION \
-p TestPackages/swift-test \
-o TestPackages/swift-test.bson

.build/release/ssgc -u /home/ubuntu/6.0.1/x86_64/usr \
.build/release/ssgc -u $SWIFT_INSTALLATION \
-p TestPackages/swift-malibu \
-o TestPackages/swift-malibu.bson
6 changes: 6 additions & 0 deletions Sources/SymbolGraphTesting/SymbolGraphObject (ext).swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import SemanticVersions
import SymbolGraphs
import Symbols
import System_

#if canImport(Testing)
import Testing
#endif

import Testing_

extension SymbolGraphObject<Void>
Expand Down Expand Up @@ -39,6 +43,7 @@ extension SymbolGraphObject<Void>
}
extension SymbolGraphObject<Void>
{
#if canImport(Testing)
public
func roundtrip(in directory:FilePath.Directory) throws
{
Expand All @@ -49,6 +54,7 @@ extension SymbolGraphObject<Void>
// We don’t want to dump the entire symbol graph to the terminal!
#expect(decoded.graph == self.graph)
}
#endif

public
func roundtrip(for tests:TestGroup, in directory:FilePath.Directory)
Expand Down

0 comments on commit d5cc940

Please sign in to comment.