Skip to content

Merge pull request #13 from readdle/merge/main/to/feature/translation… #7

Merge pull request #13 from readdle/merge/main/to/feature/translation…

Merge pull request #13 from readdle/merge/main/to/feature/translation… #7

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"