diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 150d669..9d671b4 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,6 +17,16 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: swift build -v + run: | + swift build -v \ + -Xswiftc "-sdk" \ + -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" \ + -Xswiftc "-target" \ + -Xswiftc "x86_64-apple-ios13.0-simulator" - name: Run tests - run: swift test -v + run: | + swift test -v \ + -Xswiftc "-sdk" \ + -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" \ + -Xswiftc "-target" \ + -Xswiftc "x86_64-apple-ios13.0-simulator"