Skip to content

run-command seems not working on self-hosted mac silicon runners #58

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

Open
zaikunzhang opened this issue Apr 20, 2024 · 1 comment
Open

Comments

@zaikunzhang
Copy link

zaikunzhang commented Apr 20, 2024

I am using a MacBook Pro with M3 chip as a self-hosted runner. It has Matlab R2023b installed.

The following is to run a simple command (extracted from my workflow file):

      - name: Conduct the test
        uses: matlab-actions/[email protected]
        with:
          startup-options: -nojvm -noopengl -logfile output.log
          command: |
            fprintf('\nhello!\n');

The command seems never executed. The Matlab session seems hanging. See

https://github.com/libprima/prima/actions/runs/8764966485/job/24055526664

Is this known?

Thanks.

@zaikunzhang zaikunzhang changed the title run-command seems not working on self-hosted mac silicon run-command seems not working on self-hosted mac silicon runners Apr 20, 2024
@mcafaro
Copy link
Member

mcafaro commented Apr 22, 2024

Can you run matlab -batch version from the system's terminal? Is the runner running under the same user that MATLAB is activated for?

FYI - GitHub-hosted M1 macOS runners are now available for free to public repositories: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

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

2 participants