This compiled and I could run the executable, great!
Now I want this in a github action, but it uses a different path. Is there a cross-platform way of detemining this path? (i.e. for both macOS and Linux)
/usr/bin/ld: /home/runner/work/beaver/beaver/tests/swift-project/TestPackage/.build/debug/libTestPackage.a(TestPackage.swift.o): in function `$s11TestPackage10test_swiftSPys4Int8VGyF':
/home/runner/work/beaver/beaver/tests/swift-project/TestPackage/Sources/TestPackage/TestPackage.swift:4: undefined reference to `$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC'
/usr/bin/ld: /home/runner/work/beaver/beaver/tests/swift-project/TestPackage/Sources/TestPackage/TestPackage.swift:4: undefined reference to `$sSS11withCStringyxxSPys4Int8VGKXEKlF'
/usr/bin/ld: /home/runner/work/beaver/beaver/tests/swift-project/TestPackage/Sources/TestPackage/TestPackage.swift:4: undefined reference to `swift_bridgeObjectRelease'
/usr/bin/ld: /home/runner/work/beaver/beaver/tests/swift-project/TestPackage/.build/debug/libTestPackage.a(TestPackage.swift.o): in function `__swift_instantiateConcreteTypeFromMangledName':
TestPackage.swift.o:(.text+0x103): undefined reference to `swift_getTypeByMangledNameInContext2'
/usr/bin/ld: /home/runner/work/beaver/beaver/tests/swift-project/TestPackage/.build/debug/libTestPackage.a(TestPackage.swift.o):(.data.rel.ro+0x0): undefined reference to `$ss4Int8VMn'
collect2: error: ld returned 1 exit status
Anyone have any ideas how to fix these last linking errors?