android: don't use rootProject's minSdkVersion (#17) #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS CI | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
ios-compile: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- name: Cache cocoapods | |
uses: actions/cache@v3 | |
with: | |
path: ./examples/GumTestApp/ios/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Install node modules | |
run: npm install | |
- name: Install example node modules | |
working-directory: ./examples/GumTestApp/ | |
run: npm install | |
- name: Pod install | |
working-directory: ./examples/GumTestApp/ios | |
run: pod install | |
- name: Compile iOS Example | |
working-directory: ./examples/GumTestApp/ios | |
run: | | |
set -o pipefail && \ | |
xcodebuild -workspace GumTestApp.xcworkspace/ \ | |
-scheme GumTestApp \ | |
-destination generic/platform=iOS \ | |
CODE_SIGN_IDENTITY="" \ | |
CODE_SIGNING_REQUIRED=NO \ | |
CODE_SIGN_ENTITLEMENTS="" \ | |
CODE_SIGNING_ALLOWED="NO" clean build \ | |
| xcpretty |