mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 22:56:15 +00:00
31 lines
787 B
YAML
31 lines
787 B
YAML
name: iOS starter workflow
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build and Test default scheme using any available iPhone simulator
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Build for iOS Simulator
|
|
env:
|
|
scheme: ${{ 'default' }}
|
|
platform: ${{ 'iOS Simulator' }}
|
|
run: |
|
|
xcodebuild \
|
|
-project NearFuture.xcodeproj
|
|
-scheme NearFuture \
|
|
-sdk iphonesimulator \
|
|
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=18.5' \
|
|
clean build \
|
|
CODE_SIGNING_REQUIRED=NO \
|
|
CODE_SIGN_IDENTITY="" \
|
|
CODE_SIGNING_ALLOWED=NO
|