Merge pull request #100 from adessoTurkey/feature/SASU-0077 #256
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 Build Check Workflow | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
env: | |
APP_PATH: $(find . -name "*.app" | head -n 1) | |
jobs: | |
build: | |
name: Build scheme | |
runs-on: macos-13 | |
steps: | |
- name: Select Latest Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Xcodegen | |
uses: xavierLowmiller/[email protected] | |
with: | |
spec: project.yml | |
quiet: true | |
version: 'latest' | |
- name: Generate Project | |
run: | | |
xcodegen generate | |
- name: Build | |
run: | | |
xcodebuild -scheme SampleAppSwiftUI clean build -sdk iphoneos -configuration Development CODE_SIGNING_ALLOWED=No -destination 'generic/platform=iOS Simulator' CONFIGURATION_BUILD_DIR=$PWD/build | |
- name: UI Test | |
uses: mobile-dev-inc/[email protected] | |
with: | |
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} | |
app-file: build/SampleAppSwiftUI.app | |
ios-version: 16 |