Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download MacOS image #1783

Closed
mapo80 opened this issue Oct 11, 2020 · 6 comments
Closed

Download MacOS image #1783

mapo80 opened this issue Oct 11, 2020 · 6 comments

Comments

@mapo80
Copy link

mapo80 commented Oct 11, 2020

Guys I have a question for you, I want to download macOS image to run it on my Mac, because it has everything I need to build iOS app. Is it possible? Where can I download it?

Thanks.

@maxim-lobanov
Copy link
Contributor

Hello @mapo80 , Unfortunately, it is not possible. We can't distribute the built image due to legal issues.
Related issue: #176

@mapo80
Copy link
Author

mapo80 commented Oct 11, 2020

Hi @maxim-lobanov, I understand. Can I create it from scratch using your build system? Is there a tutorial to do this?

@maxim-lobanov
Copy link
Contributor

We just open-sourced MacOS image generation code a few weeks ago so don't have guides yet. It could be a bit tricky but I think that the simplest way to configure the same environment locally:

  1. Take clean MacOS 10.15 machine
  2. git clone https://github.com/actions/virtual-environments.git
  3. Run all image-generation scripts from images/macos folder one by one

Notes:

  • The list of all scripts is defined in template file in provisioners section. It is the most interesting section for you.
  • Probably, you would like to edit toolset and exclude some Xcode versions from installation. We install about 11 Xcode versions that could be very painful locally.
  • You can skip some tools that are not needed for you

@mapo80
Copy link
Author

mapo80 commented Oct 11, 2020

@maxim-lobanov Thanks very much for your detailed answer.

@mapo80 mapo80 closed this as completed Oct 11, 2020
@joyhui
Copy link

joyhui commented Feb 7, 2021

@maxim-lobanov : I am trying to build the image for macOS. But there are too many scripts under images/macos. Do we have a better solution now?

@maxim-lobanov
Copy link
Contributor

@joyhui , unfortunately, no better solution for now. I think you can skip scripts and tools that you don't need on your own image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants