Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Question] Can I run the task with macos_instance VMs but run on the github runner ubuntu-latest? #598

Closed
littleGnAl opened this issue Jan 9, 2023 · 1 comment

Comments

@littleGnAl
Copy link

Say that I have a GitHub action file .github/workflows/cirrus.yml like:

name: Run Cirrus Tasks

on: [push, pull_request]

jobs:
  cirrus:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: cirruslabs/cirrus-action@master

And a .cirrus.yml like:

macos_instance:
  image: ghcr.io/cirruslabs/macos-ventura-base:latest

task:
  script: echo "Hello World from macOS!"

When the action run, is the script: echo "Hello World from macOS!" actually run on ubuntu-latest or ghcr.io/cirruslabs/macos-ventura-base:latest?

@littleGnAl littleGnAl changed the title Can I run the task with macos_instance VMs but run on the github runner ubuntu-latest? [Question] Can I run the task with macos_instance VMs but run on the github runner ubuntu-latest? Jan 9, 2023
@fkorotkov
Copy link
Contributor

Unfortunately, in order to run macos_instances you need a macOS host. Cirrus CLI uses Tart which only works on macOS hosts with M1/M2 chips.

@cirruslabs cirruslabs locked and limited conversation to collaborators Jan 9, 2023
@fkorotkov fkorotkov converted this issue into discussion #599 Jan 9, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants