-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 878 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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/setup-xcode@v1.6.0
with:
xcode-version: '15.0'
- name: Checkout
uses: actions/checkout@v3
- 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 }}