Skip to content

#210 add SocketException in network connection checker #232

#210 add SocketException in network connection checker

#210 add SocketException in network connection checker #232

name: KMP library compilation check
on:
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: macOS-11
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Check plugin
run: ./gradlew -p network-generator build publishToMavenLocal
- name: Check runtime
run: ./gradlew build publishToMavenLocal syncMultiPlatformLibraryDebugFrameworkIosX64
- name: Install pods
run: cd sample/ios-app && pod install
- name: Check iOS
run: cd sample/ios-app && set -o pipefail && xcodebuild -scheme TestProj -workspace TestProj.xcworkspace -configuration Debug -sdk iphonesimulator -arch x86_64 build CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | xcpretty