gha3mi/Setup Fortran with Conda

Installs Fortran compilers and extra packages using Conda or vendor packages. Optionally builds docs and updates README status/dependency graphs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: gha3mi/setup-fortran-conda@11bd745130c77d44dab32174ee80a35c78021ba7 # v0.17.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
compilerFortran compiler to install (gfortran, ifx, lfortran, flang, flang-new, nvfortran, aocc, aomp, mpifort)no""
compiler-versioncompiler versionno""
platformRunner OS platform (ubuntu-latest, windows-latest, macos-latest)no""
extra-packagesList of additional Conda packages (e.g., cmake ninja)no""
fpm-versionfpm version to install. Empty means latest.no""
checkout-repoWhether to checkout the repository before setupnotrue
generate-doc-fordWhether to build and deploy FORD documentationnofalse
ford-configPath to FORD config file (e.g., README.md or ford.md)noREADME.md
ford-branchBranch to deploy FORD docs tonogh-pages-ford
ford-working-directoryDirectory to run FORD from (relative to root)no.
ford-output-directoryPath to generated FORD documentation (used by deployment)nodoc/ford
ford-target-folderTarget folder in repo for deployed FORD docs (used only if branch is main or master)nodoc/ford
generate-doc-doxygenWhether to build and deploy Doxygen documentationnofalse
doxygen-configPath to Doxygen config file (e.g., Doxyfile)noDoxyfile
doxygen-branchBranch to deploy Doxygen docs tonogh-pages-doxygen
doxygen-working-directoryDirectory to run Doxygen from (relative to root)no.
doxygen-output-directoryPath to generated Doxygen documentation (used by deployment)nodoc/doxygen
doxygen-target-folderTarget folder in repo for deployed Doxygen docs (used only if branch is main or master)nodoc/doxygen
generate-status-fpmGenerate STATUS.md for test_fpm jobsnofalse
generate-status-cmakeGenerate STATUS.md for test_cmake jobsnofalse
generate-status-mesonGenerate STATUS.md for test_meson jobsnofalse
generate-status-tableGenerate and inject CI status table into README.mdnofalse
update-readme-tableWhether to auto-update the status table in README.md and commit itnofalse
update-readme-user-nameGit user.name for README.md update commitno
update-readme-user-emailGit user.email for README.md update commitno
update-readme-tokenGitHub token used to create README update PRsno
update-readme-dependenciesGenerate and inject one fpm dependency graph into README.md. Supported values: false, fpm-deps, fpm-modulesnofalse
dependency-graph-working-directoryDirectory containing fpm.toml for README dependency graph generationno.
dependency-graph-readme-fileREADME file to update with the dependency graphnoREADME.md
dependency-graph-optionsExtra one-line CLI options passed to the selected dependency graph toolno""
fortitude-checkRun Fortitude check (https://github.com/PlasmaFAIR/fortitude)nofalse
fortitude-settingsExtra flags for 'fortitude check'no--output-format github

no outputs