-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 991 Bytes
/
build_test.yml
File metadata and controls
42 lines (34 loc) · 991 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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: iOS CI Build (Tuist + Secrets)
on:
pull_request:
branches:
- develop
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Xcode version
run: sudo xcode-select -s /Applications/Xcode_16.4.app
- name: Install Tuist
run: brew install tuist
- name: Generate xcconfig
run: |
mkdir -p SupportingFiles
echo "BASE_URL = ${BASE_URL}" > SupportingFiles/Secrets.xcconfig
env:
BASE_URL: ${{ secrets.BASE_URL }}
- name: Generate Xcode project with Tuist
run: |
tuist install
tuist generate --no-open
- name: Build with xcodebuild
run: |
set -o pipefail
xcodebuild \
-workspace Bitnagil.xcworkspace \
-scheme App \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
clean build