Skip to content

Add more toolbox

Add more toolbox #15

Workflow file for this run

# This is a basic workflow to help you get started with MATLAB Actions
name: MATLAB Build
# Controls when the action will run.
on:
push: # Runs on push events
#pull_request: # Runs on pull requests
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
env:
MLM_LICENSE_TOKEN: ${{ secrets.MLM_LICENSE_TOKEN }}
jobs:
# This workflow contains two jobs called "test" and "compile-webapp"
test:
# This job will run for all the OS present in the matrix
strategy:
matrix:
[ubuntu-latest]

Check failure on line 21 in .github/workflows/matlab-ci.yml

View workflow run for this annotation

GitHub Actions / MATLAB Build

Invalid workflow file

The workflow is not valid. .github/workflows/matlab-ci.yml (Line: 21, Col: 13): A sequence was not expected
#os: [ubuntu-latest, windows-latest, macos-13]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup MATLAB on the GitHub Actions runner
uses: matlab-actions/setup-matlab@v2
with:
cache: true
products: |
MATLAB
MATLAB_Test
MATLAB_Coder
Requirements_Toolbox
GPU_Coder
MATLAB_Compiler
MATLAB_Compiler_SDK
Parallel_Computing_Toolbox
MATLAB_Coder_Support_Package_for_NVIDIA_Jetson_and_NVIDIA_DRIVE_Platforms
# Remove Jetson board for Action Since support pacakge can't be installed
- name: Start display server (required for building doc in MATLAB)
run: |
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV
- name: Run ${{ matrix.os }} build to run tests on it
uses: matlab-actions/run-tests@v2
with:
use-parallel: true
test-results-junit: test-results/results.xml
code-coverage-cobertura: code-coverage/coverage.xml
# - name: Run un ${{ matrix.os }} with script
# uses: matlab-actions/run-command@v2
# with:
# command: myscript