Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Apr 26, 2024
1 parent 85bf039 commit d8ab39f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/actions/setup-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ inputs:
runs:
using: "composite"
steps:
#
# Linux and macOS
#
# ———— Linux and macOS ———— #
- name: Set Linux MAKEFLAGS
run: echo "MAKEFLAGS=-j$(nproc) V=1" >> $GITHUB_ENV
shell: bash
Expand Down Expand Up @@ -83,9 +81,7 @@ runs:
shell: bash
if: runner.os == 'Linux'

#
# Windows
#
# ———— Windows ———— #
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
with:
Expand Down Expand Up @@ -115,9 +111,7 @@ runs:
shell: powershell
if: runner.os == 'Windows'

#
# MATLAB
#
# ———— MATLAB ———— #
- name: Setup MATLAB
id: setup-matlab
uses: matlab-actions/setup-matlab@v2
Expand All @@ -127,13 +121,18 @@ runs:

- name: Set MATLAB_HOME
run: |
sudo apt install -y libgtk2.0-0
# needed for MATLAB R2024a
# sudo apt install -y libgtk2.0-0
echo "MATLAB_HOME=${{ steps.setup-matlab.outputs.matlabroot }}" >> $GITHUB_ENV
shell: bash
if: runner.os == 'Linux' && matrix.config == 'matlab'

- name: Set MATLAB_HOME
run: |
where matlab
where git
where echo
dir "${{ steps.setup-matlab.outputs.matlabroot }}\bin"
echo "MATLAB_HOME=${{ steps.setup-matlab.outputs.matlabroot }}" >> $env:GITHUB_ENV
shell: powershell
if: runner.os == 'Windows' && matrix.config == 'matlab'
Expand Down

0 comments on commit d8ab39f

Please sign in to comment.