GitHub Action: Setup Fortran with Conda

Thanks @jacobwilliams!

I believe the latest version is now the most stable and fastest release so far.
CI tests with all the latest available compilers have passed.

I also added a new optional input (fpm-version) to pin the fpm version.

OS Compiler Version fpm cmake meson
ubuntu 24.04 flang-new 21.1.8 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
ubuntu 24.04 gfortran 15.2.0 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
ubuntu 24.04 ifx 2025.3.2 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
ubuntu 24.04 lfortran 0.60.0 0.12.0 :white_check_mark: 4.2.3 :white_check_mark:
ubuntu 24.04 nvfortran 26.1 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
macos 15 gfortran 15.2.0 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
macos 15 lfortran 0.60.0 0.12.0 :white_check_mark: 4.2.3 :white_check_mark:
windows 2025 flang-new 21.1.8 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
windows 2025 gfortran 15.2.0 0.13.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
windows 2025 ifx 2025.3.2 0.12.0 :white_check_mark: 4.2.3 :white_check_mark: 1.10.1 :white_check_mark:
windows 2025 lfortran 0.54.0 0.12.0 :white_check_mark: 4.2.3 :white_check_mark:
4 Likes

damn son, this is great. thanks for the effort!

2 Likes

Great to see the green tick for LFortran too (LFortran compiles fpm)!

1 Like

I think in this thread it’s “fpm works with lfortran”, we don’t care that “lfortran also compiles fpm itself”. Or is the compiler used to bootstrap fpm at the CI?

2 Likes

You are absolutely right. I made the wrong connection.

That would be something for the CI in the fpm repository (fpm/.github/workflows/CI.yml at main · fortran-lang/fpm · GitHub).

2 Likes

The latest release of setup-fortran-conda now supports AOCC and AOMP on Linux.

It also adds fpm-modules and fpm-deps, which can inject dependency graphs into README.md.

The latest CI status is:

OS Compiler Version fpm cmake meson
ubuntu 24.04 aocc 5.2.0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
ubuntu 24.04 aomp 23.0-0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
ubuntu 24.04 flang-new 22.1.6 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
ubuntu 24.04 gfortran 15.2.0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
ubuntu 24.04 ifx 2026.0.0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
ubuntu 24.04 lfortran 0.63.0 0.12.0 :white_check_mark: 4.3.3 :white_check_mark:
ubuntu 24.04 nvfortran 26.3 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
macos 15 gfortran 15.2.0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
macos 15 lfortran 0.63.0 0.12.0 :white_check_mark: 4.3.3 :white_check_mark:
windows 2025 flang-new 22.1.6 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
windows 2025 gfortran 15.2.0 0.13.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
windows 2025 ifx 2026.0.0 0.12.0 :white_check_mark: 4.3.3 :white_check_mark: 1.11.1 :white_check_mark:
windows 2025 lfortran 0.54.0 0.12.0 :white_check_mark: 4.3.3 :white_check_mark:
2 Likes