Skip to content

Merge pull request #15 from rokon-uddin/swift_tool_version #19

Merge pull request #15 from rokon-uddin/swift_tool_version

Merge pull request #15 from rokon-uddin/swift_tool_version #19

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build project
runs-on: macos-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=17.0,name=iPhone 15']
steps:
- name: Setup Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
- name: Checkout
uses: actions/checkout@v2
- name: Build
working-directory: ./{{cookiecutter.app_name}}
env:
platform: ${{ 'iOS Simulator' }}
run: |
echo "destination=${destination}"
xcodebuild clean test -project {{cookiecutter.app_name}}.xcodeproj -scheme Development -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
env:
destination: ${{ matrix.destination }}