-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (24 loc) · 785 Bytes
/
swift.yml
File metadata and controls
29 lines (24 loc) · 785 Bytes
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
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Automation Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2'
- name: Build with the release configurations
run: swift build -c release -v
- name: Tests on iPhone 15 Pro (iOS 17.2) Simulator with release configurations
run: xcodebuild
-scheme 'PersianJustify'
-sdk iphonesimulator
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2'
test