|
4 | 4 | # https://docs.github.com/en/actions
|
5 | 5 | #
|
6 | 6 | # For using MathWorks products in GitHub Actions, see
|
7 |
| -# https://github.com/matlab-actions/overview |
| 7 | +# https://github.com/matlab-actions/ |
8 | 8 | #
|
9 | 9 | # For details about the syntax of this file, see
|
10 | 10 | # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
11 | 11 |
|
12 | 12 | # Copyright 2023-2025 The MathWorks, Inc.
|
13 |
| - |
14 | 13 | name: CI using MATLAB Across Multiple OS and MATLAB Versions
|
15 | 14 |
|
16 | 15 | on:
|
|
42 | 41 | matrix:
|
43 | 42 | os: [ubuntu-latest, windows-latest, macos-latest]
|
44 | 43 | matlab_version: [R2021b, R2022b, R2023b, R2024b]
|
| 44 | + env: |
| 45 | + EDITOR: nano # Setting the EDITOR environment variable |
45 | 46 | steps:
|
46 | 47 | - name: Check out repository
|
47 | 48 | uses: actions/checkout@v4
|
|
50 | 51 | uses: matlab-actions/setup-matlab@v2
|
51 | 52 | with:
|
52 | 53 | release: ${{ matrix.matlab_version }}
|
| 54 | + products: > |
| 55 | + Simulink |
| 56 | + Simscape |
| 57 | + Simscape_Electrical |
| 58 | + Simscape_Fluids |
| 59 | + Control_System_Toolbox |
| 60 | + Motor_Control_Blockset |
53 | 61 |
|
54 | 62 | - name: Run Project Tests
|
55 | 63 | uses: matlab-actions/run-command@v2
|
|
65 | 73 | matrix:
|
66 | 74 | os: [ubuntu-latest, windows-latest, macos-latest]
|
67 | 75 | matlab_version: [R2021b, R2022b, R2023b, R2024b]
|
| 76 | + env: |
| 77 | + EDITOR: nano # Setting the EDITOR environment variable |
68 | 78 | steps:
|
69 | 79 | - name: Check out repository
|
70 | 80 | uses: actions/checkout@v4
|
|
73 | 83 | uses: matlab-actions/setup-matlab@v2
|
74 | 84 | with:
|
75 | 85 | release: ${{ matrix.matlab_version }}
|
| 86 | + products: > |
| 87 | + Simulink |
| 88 | + Simscape |
| 89 | + Simscape_Electrical |
| 90 | + Simscape_Fluids |
| 91 | + Control_System_Toolbox |
| 92 | + Motor_Control_Blockset |
76 | 93 |
|
77 | 94 | - name: Run Libraries Tests
|
78 | 95 | uses: matlab-actions/run-command@v2
|
|
0 commit comments