File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : iOS CI Build (Tuist + Secrets)
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - develop
7+
8+ jobs :
9+ build :
10+ runs-on : macos-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set Xcode version
17+ run : sudo xcode-select -s /Applications/Xcode_16.2.app
18+
19+ - name : Install Mise and Tuist
20+ run : |
21+ curl -fsSL https://mise.jdx.dev/install.sh | sh
22+ export PATH="$HOME/.local/bin:$PATH"
23+ mise install tuist
24+ mise use -g tuist
25+
26+ - name : Generate xcconfig
27+ run : |
28+ mkdir -p SupportingFiles
29+ echo "BASE_URL = ${BASE_URL}" > SupportingFiles/Secrets.xcconfig
30+ env :
31+ BASE_URL : ${{ secrets.BASE_URL }}
32+
33+ - name : Generate Xcode project with Tuist
34+ run : |
35+ export PATH="$HOME/.local/bin:$PATH"
36+ mise exec -- tuist install
37+ mise exec -- tuist generate --no-open
38+
39+ - name : Build with xcodebuild
40+ run : |
41+ set -o pipefail
42+ xcodebuild \
43+ -workspace Bitnagil.xcworkspace \
44+ -scheme App \
45+ -sdk iphonesimulator \
46+ -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' \
47+ clean build | xcpretty
48+
Original file line number Diff line number Diff line change @@ -104,4 +104,5 @@ iOSInjectionProject/
104104* .xcworkspace
105105** /Derived /
106106.build /
107- .cache /
107+ .cache /
108+ * .swp
You can’t perform that action at this time.
0 commit comments