Skip to content

Dev: add support swift6 for Android #2

Dev: add support swift6 for Android

Dev: add support swift6 for Android #2

Workflow file for this run

name: Test
on: push
jobs:
build:
name: test
runs-on: macOS-10.14
env:
DEVELOPER_DIR: /Applications/Xcode_11.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Swift test
run: |
sdk=`xcrun -sdk iphonesimulator -show-sdk-path`
sdkVersion=`echo $sdk | sed -E 's/.*iPhoneSimulator(.*)\.sdk/\1/'`
swift test -Xswiftc "-sdk" -Xswiftc "$sdk" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios$sdkVersion-simulator"