Skip to content

Commit

Permalink
Tuist Caching Test
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Oct 29, 2024
0 parents commit 7a13da3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tuist Caching Test

on:
push:

jobs:
tuistcache:
name: "Tuist Caching Test"

runs-on: ghcr.io/cirruslabs/macos-sonoma-xcode:latest

steps:
- name: Show environment
run: printenv

- name: Install Tuist
run: |
brew tap tuist/tuist
brew install --formula tuist
- name: Show Tuist version
run: tuist version

- name: Clone Tuist repository
run: git clone https://github.com/tuist/tuist.git

- name: Modify Tuist configuration for a given fixture and run "tuist cache"
run: |
cd tuist/fixtures/ios_app_with_frameworks/
sed -i '' 's@https://canary.tuist.io@'"${CIRRUS_TUIST_CACHE_URL}"'@g' Tuist/Config.swift
cat Tuist/Config.swift
CI=1 TUIST_CONFIG_TOKEN=foo tuist cache

0 comments on commit 7a13da3

Please sign in to comment.