Skip to content

Commit

Permalink
Add github action to build toolbox
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jan 10, 2024
1 parent 9719cfd commit 7debd42
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: genTlbx(1);exit()

0 comments on commit 7debd42

Please sign in to comment.