🔥 Remove template lib #177
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: Build | |
on: [pull_request, push] | |
jobs: | |
carthage: | |
name: Carthage build | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: AckeeCZ/[email protected] | |
- uses: actions/cache@v3 | |
with: | |
path: Carthage | |
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-carthage- | |
- name: Fetch Carthage dependencies | |
run: carthage checkout | |
- name: Carthage build | |
run: carthage build --no-skip-current --cache-builds --use-xcframeworks | |
tests: | |
name: Build | |
runs-on: macos-13 | |
defaults: | |
run: | |
working-directory: ./ProjectTemplate | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: AckeeCZ/[email protected] | |
- uses: actions/cache@v3 | |
with: | |
path: ../Carthage | |
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-carthage- | |
- name: Install Tuist | |
run: bash <(curl -Ls https://install.tuist.io) | |
- name: Build Carthage dependencies | |
run: | | |
carthage checkout --project-directory .. | |
carthage build --no-skip-current --cache-builds --use-xcframeworks --project-directory .. | |
- name: Generate project | |
run: tuist fetch && tuist generate | |
- name: Build project | |
run: set -o pipefail && xcodebuild -scheme App -workspace ProjectTemplate.xcworkspace -sdk iphonesimulator ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO | xcpretty |