Skip to content

Commit

Permalink
240420.182743.HKT try using run-command for macos ARM64 in compile_…
Browse files Browse the repository at this point in the history
…mex.yml
  • Loading branch information
zaikunzhang committed Apr 20, 2024
1 parent e41f3e4 commit 700fa8e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2184,3 +2184,6 @@ nxbdi
amd
mmlir
nojvm
nodesktop
nodisplay
nosplash
16 changes: 14 additions & 2 deletions .github/workflows/compile_mex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,20 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- name: Conduct the test # We do not use matlab-actions/run-command, which is not supported on macOS ARM64 as of 20240119
run: ${{ env.MATLAB }} -nojvm -nosplash -nodesktop -nodisplay -r "options.debug = true; options.half = true; options.single = true; options.quadruple = true; options.classical = false; options.verbose = true; setup(options); testprima; cd matlab/examples; rosenbrock_example; exit"
- name: Conduct the test
uses: matlab-actions/[email protected]
with:
command: |
options.debug = true;
options.half = true;
options.single = true;
options.quadruple = true;
options.classical = false;
options.verbose = true;
setup(options);
testprima;
cd matlab/examples
rosenbrock_example
- name: Store artifacts
uses: actions/[email protected]
Expand Down

0 comments on commit 700fa8e

Please sign in to comment.