Skip to content

Add github action to build toolbox #3

Add github action to build toolbox

Add github action to build toolbox #3

Workflow file for this run

name: Build Toolbox
on: [push]
jobs:
build:
name: Run MATLAB Tests and Generate Artifacts
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Organize Toolbox Dependencies
run: |
make -C ./CI/scripts build
pip3 install -r requirements_doc.txt
make -C ./CI/gen_doc doc_ml
make -C ./CI/scripts add_libad9361
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
with:
release: R2022b
- name: Compile Toolbox
uses: matlab-actions/run-command@v1
with:
command: cd('CI/scripts');genTlbx(1);exit()
- name: Save generated .mltbx file
uses: actions/upload-artifact@v2
with:
name: mltbx
path: *.mltbx

Check failure on line 36 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 36