-
Notifications
You must be signed in to change notification settings - Fork 43
39 lines (36 loc) · 1.33 KB
/
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
33
34
35
36
37
38
39
name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
xcode_14_3_simulator:
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Version
run: swift --version
- name: '📱 Find Simulator'
run: ./simulator-find.sh 16.4 'iPhone 14 Pro'
- name: Build
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator16.4 -destination '${{env.XCODE_DESTINATION}}' build-for-testing
- name: Test
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator16.4 -destination '${{env.XCODE_DESTINATION}}' test-without-building
xcode_15_0_simulator:
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Version
run: swift --version
- name: '📱 Find Simulator'
run: ./simulator-find.sh 17.0 'iPhone 14 Pro'
- name: Build
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator17.0 -destination '${{env.XCODE_DESTINATION}}' build-for-testing
- name: Test
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator17.0 -destination '${{env.XCODE_DESTINATION}}' test-without-building