Use Tuist for project generation #5
Workflow file for this run
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
name: CI-macOS | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: macos-14 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: Generate Project using tuist | |
run: tuist generate | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_15.4.app | |
- name: Xcode version | |
run: xcodebuild -version | |
- name: Build and Test CI_macOS Scheme | |
run: | | |
set -o pipefail && xcodebuild clean build test \ | |
-workspace EssentialApp.xcworkspace \ | |
-scheme CI_macOS \ | |
-sdk macosx \ | |
-destination "platform=macOS" \ | |
-testPlan CI_macOS \ | |
CODE_SIGN_IDENTITY="" \ | |
CODE_SIGNING_REQUIRED=NO \ | |
ONLY_ACTIVE_ARCH=YES | xcbeautify --renderer github-actions |