Add MATLAB code analyzer #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Matlab Analyzer | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: ["main"] | |
jobs: | |
matlab-analyzer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Dependencies | |
uses: ./.github/actions/setup-dependencies | |
- name: Build MATLAB on Ubuntu | |
uses: ./.github/actions/build | |
timeout-minutes: 90 | |
with: | |
working_directory: "matlab" | |
build_cpp_and_python: true | |
- name: MATLAB Analyzer | |
working-directory: matlab/config | |
run: $(MATLAB_COMMAND) matlab_analyzer.m | |
shell: bash | |
- name: Upload Analyzer Report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: matlab-analyzer-report | |
path: matlab/config/result.json | |
if-no-files-found: ignore | |
if: always() |