Skip to content

Conversation

facumenzella
Copy link
Contributor

Motivation

We want to start testing tuist in CircleCI, to slowly clear the existing workspace in favor of the generated one. It will be isolated for now, till it is stable.

Description

  • Add tuist-generate-workspace to generate the workspace
    • install deps
    • generate workspace
  • Add manual trigger

Next steps

  • Test different modules
  • As we remove target from the main project, move them here

@facumenzella facumenzella requested review from a team and ajpallares July 22, 2025 15:59
Copy link

emerge-tools bot commented Jul 22, 2025

📸 Snapshot Test

1 modified, 704 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-scaled-to-match-ipad
0 0 1 0 234 0 ✅ Approved
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac
0 0 0 0 235 0 N/A
RevenueCat
com.revenuecat.PaywallsTester
0 0 0 0 235 0 N/A

🛸 Powered by Emerge Tools

Copy link
Member

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! We're getting there! 🤩
Just one small question, but looks great!

- run:
name: Generate Tuist workspace
command: |
export PATH="$HOME/.local/share/mise/shims:$PATH"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this command necessary?
I see it's already executed in the revenuecat/install-tuist command https://github.com/RevenueCat/sdks-circleci-orb/blob/9aa69e356bfa06564c230613e64b1ebadd544ed0/src/scripts/install-tuist.sh#L22

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found another way yet, but yesterday I found this https://circleci.com/docs/set-environment-variable/

I need to test it out in the orb to see if it works

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that should work. I used that pattern in the orb in set-ssh-key-for-git.

@facumenzella facumenzella merged commit de9c557 into main Jul 23, 2025
12 checks passed
@facumenzella facumenzella deleted the feat/tuist_circleci branch July 23, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants