-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,27 @@ | ||
name: iOS Build | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: | ||
- master | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '16.1.0' | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Tuist | ||
run: | | ||
mise install tuist | ||
- name: Generate Project with Tuist | ||
run: | | ||
tuist install | ||
tuist generate | ||
- name: Select Xcode version | ||
run: sudo xcode-select -switch /Applications/Xcode.app | ||
brew tap tuist/tuist | ||
brew install --formula [email protected] | ||
- name: Build iOS App | ||
run: | | ||
xcodebuild build \ | ||
-workspace ModernCleanArchtecture.xcworkspace \ | ||
-scheme Example \ | ||
-configuration Debug \ | ||
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' | ||
tuist build Example --generate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// swift-tools-version: 5.9 | ||
// swift-tools-version: 6.0 | ||
import PackageDescription | ||
|
||
#if TUIST | ||
|