Skip to content

Commit

Permalink
240609.185345.HKT [skip ci] revise verify_archiva regarding gfortran …
Browse files Browse the repository at this point in the history
…setup
  • Loading branch information
zaikunzhang committed Jun 9, 2024
1 parent ade9b9d commit de223c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/compile_mex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,13 @@ jobs:
GFVER=9
fi
echo "GFVER=$GFVER" >> $GITHUB_ENV
- name: Set up gfortran on Linux
if: startsWith(matrix.os, 'ubuntu')
uses: fortran-lang/setup-fortran@main
with:
compiler: gcc
version: ${{ env.GFVER }}

- name: Check gfortran version
- name: Check gfortran version on Linux
if: startsWith(matrix.os, 'ubuntu')
run: which gfortran && gfortran --version

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/verify_archiva.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,15 @@ jobs:
repository: matcutest/matcutest_compiled
path: matcutest

- name: Link gfortran for MATLAB on Linux
- name: Set up gfortran on Linux
if: startsWith(matrix.os, 'ubuntu')
run: bash .github/scripts/link_gfortran ${{ env.GFORTRAN_VERSION }}
uses: fortran-lang/setup-fortran@main
with:
compiler: gcc
version: ${{ env.GFORTRAN_VERSION }}
- name: Check gfortran version on Linux
if: startsWith(matrix.os, 'ubuntu')
run: which gfortran && gfortran --version

- name: Check MATLAB
id: check_matlab
Expand Down

0 comments on commit de223c9

Please sign in to comment.