Setup Fortran Compilers
Version updated for https://github.com/minhqdao/setup-fortran to version v1.10.0.
- This action is used across all versions by 4 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The setup-fortran GitHub Action automates the setup of Fortran compiler toolchains across Linux, macOS, and Windows platforms. It supports various compilers including GNU, Intel, LLVM, NVIDIA, AMD, Arm, and LFortran, allowing users to easily integrate Fortran development into their workflows using GitHub Actions. The action provides options to specify the compiler version, installation environment (Windows), disk cleanup, and environment variable export settings.
What’s Changed
Compatibility Release to Supersede fortran-lang/setup-fortran
- Add compiler aliases (
gcc–>gfortran,intel–>ifx,intel-classic–>ifort,nvidia-hpc–>nvfortran) with deprecation warning, tests and documentation. - Implement
update-environmentwith documentation and tests. - Maintain backwards-compatibility for specified versions except those that are intentionally broken.
- Normalize
aoccversions (5.1.0–>5.1). - Add tests and fixes for companions compilers.
- Add weekly canary (scheduled run because tests can break without code change due to runner updates).
- Test consecutive invocations.
- Add additional output verification tests.
- Add test for C compilation and linking.
- Add tests for additional Windows shells.
- Revert symlinks on macOS during
gfortraninstallation. - Add additional timeouts and retries.
- Create symlinks where missing.
- Guard unintended version coercion in
yamlfiles (2026.0–>2026).