Skip to content

Commit

Permalink
Update matlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuzinski authored Mar 13, 2024
1 parent 13e4e97 commit 08fb7cf
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/matlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08fb7cf

Please sign in to comment.