Skip to content

Commit

Permalink
240609.194902.HKT [skip ci] revise yml files regarding gfortran setup
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Jun 9, 2024
1 parent f044818 commit ee389bc
Show file tree
Hide file tree
Showing 29 changed files with 176 additions and 419 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/parallel_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,15 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- 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: Decide the version of oneAPI to use
shell: bash
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_all_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_bobyqa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_bobyqa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_cobyla_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_cobyla_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_compiler_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_infnan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_integer_kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_lincoa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_lincoa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_newuoa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_newuoa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_npt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_prima_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_quadruple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_rescue_idz_classical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_rescue_idz_modernized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_uobyqa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/profile_uobyqa_small_sq.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: Install epstopdf and ghostscript
if: startsWith(matrix.os, 'ubuntu')
Expand Down
Loading

0 comments on commit ee389bc

Please sign in to comment.