File tree 2 files changed +12
-18
lines changed
2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : iOS Build
2
2
3
3
on :
4
+ push :
5
+ branches : [ "master" ]
4
6
pull_request :
5
- branches :
6
- - master
7
+ branches : [ "master" ]
7
8
8
9
jobs :
9
10
build :
10
11
runs-on : macos-latest
11
-
12
12
steps :
13
+ - uses : maxim-lobanov/setup-xcode@v1
14
+ with :
15
+ xcode-version : ' 16.1.0'
16
+
13
17
- name : Checkout repository
14
18
uses : actions/checkout@v4
15
19
16
20
- name : Install Tuist
17
21
run : |
18
- mise install tuist
19
-
20
- - name : Generate Project with Tuist
21
- run : |
22
- tuist install
23
- tuist generate
24
-
25
- - name : Select Xcode version
26
- run : sudo xcode-select -switch /Applications/Xcode.app
22
+ brew tap tuist/tuist
23
+ brew install --formula [email protected]
27
24
28
25
- name : Build iOS App
29
26
run : |
30
- xcodebuild build \
31
- -workspace ModernCleanArchtecture.xcworkspace \
32
- -scheme Example \
33
- -configuration Debug \
34
- -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'
27
+ tuist install
28
+ tuist build Example --generate
Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.9
1
+ // swift-tools-version: 6.0
2
2
import PackageDescription
3
3
4
4
#if TUIST
You can’t perform that action at this time.
0 commit comments