run-command icon indicating copy to clipboard operation
run-command copied to clipboard

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

Open zaikunzhang opened this issue 1 year ago • 1 comments

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 avatar Apr 20 '24 12:04 zaikunzhang

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/

mcafaro avatar Apr 22 '24 15:04 mcafaro