From 08fb7cf94929a5d8d72dff4ab5835ad4b2f228b9 Mon Sep 17 00:00:00 2001 From: David Buzinski <103441853+davidbuzinski@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:57:38 -0400 Subject: [PATCH] Update matlab-ci.yml --- .github/workflows/matlab-ci.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/matlab-ci.yml b/.github/workflows/matlab-ci.yml index c83e4a2..33d0a5c 100755 --- a/.github/workflows/matlab-ci.yml +++ b/.github/workflows/matlab-ci.yml @@ -27,18 +27,27 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: actions/cache@v4 + with: + path: | + **/*.mlx + **/*.ipynb + **/*.md + sample_media + key: buildtool-cache - name: Setup MATLAB uses: matlab-actions/setup-matlab@v2 with: cache: true - # - name: Start display server - # if: ${{ matrix.platform == 'ubuntu-latest' }} - # run: | - # sudo apt-get install xvfb - # Xvfb :99 & - # echo "DISPLAY=:99" >> $GITHUB_ENV + - name: Start display server + if: ${{ matrix.platform == 'ubuntu-latest' }} + run: | + sudo apt-get install xvfb + Xvfb :99 & + echo "DISPLAY=:99" >> $GITHUB_ENV - name: Produce MD from MLX uses: matlab-actions/run-build@v2