Skip to content

Commit

Permalink
Update run-tests-reusable.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisbelierasml committed Aug 15, 2024
1 parent 345a8fc commit a2e5f2f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/run-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
name: ${{ inputs.os }}-${{ inputs.matlab-version }}-${{ inputs.julia-version }}
steps:

- name: Install G++ version 8
if: startsWith(${{ inputs.os }}, 'ubuntu')
run: |
sudo apt-get install g++-8
export CXX=/usr/bin/g++-8
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -49,16 +54,13 @@ jobs:
products: >
${{ contains(inputs.matlab-version, '2024') && 'MATLAB_Support_for_MinGW-w64_C/C++/Fortran_Compiler' || 'MATLAB_Support_for_MinGW-w64_C/C++_Compiler' }}
# - name: Install G++ version 8
# if: startsWith(${{ inputs.os }}, 'ubuntu')
# run: |
# sudo apt-get install g++-8


- name: Run tests
uses: matlab-actions/run-tests@v2
env:
JULIA_VERSION: ${{ inputs.julia-version }}
# CXX: /usr/bin/g++-8
CXX: /usr/bin/g++-8
with:
source-folder: 'src/matlab'
select-by-folder: 'test'
Expand Down

0 comments on commit a2e5f2f

Please sign in to comment.