From 7debd42ccc9bd7f26a7d8badb6037dfde21f03c0 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Wed, 10 Jan 2024 13:11:05 -0700 Subject: [PATCH] Add github action to build toolbox Signed-off-by: Travis F. Collins --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..7e3027c4 --- /dev/null +++ b/.github/workflows/build.yml @@ -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()