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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- MIT
Pinned Snippet
uses: gha3mi/setup-fortran-conda@11bd745130c77d44dab32174ee80a35c78021ba7 # v0.17.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| compiler | Fortran compiler to install (gfortran, ifx, lfortran, flang, flang-new, nvfortran, aocc, aomp, mpifort) | no | "" |
| compiler-version | compiler version | no | "" |
| platform | Runner OS platform (ubuntu-latest, windows-latest, macos-latest) | no | "" |
| extra-packages | List of additional Conda packages (e.g., cmake ninja) | no | "" |
| fpm-version | fpm version to install. Empty means latest. | no | "" |
| checkout-repo | Whether to checkout the repository before setup | no | true |
| generate-doc-ford | Whether to build and deploy FORD documentation | no | false |
| ford-config | Path to FORD config file (e.g., README.md or ford.md) | no | README.md |
| ford-branch | Branch to deploy FORD docs to | no | gh-pages-ford |
| ford-working-directory | Directory to run FORD from (relative to root) | no | . |
| ford-output-directory | Path to generated FORD documentation (used by deployment) | no | doc/ford |
| ford-target-folder | Target folder in repo for deployed FORD docs (used only if branch is main or master) | no | doc/ford |
| generate-doc-doxygen | Whether to build and deploy Doxygen documentation | no | false |
| doxygen-config | Path to Doxygen config file (e.g., Doxyfile) | no | Doxyfile |
| doxygen-branch | Branch to deploy Doxygen docs to | no | gh-pages-doxygen |
| doxygen-working-directory | Directory to run Doxygen from (relative to root) | no | . |
| doxygen-output-directory | Path to generated Doxygen documentation (used by deployment) | no | doc/doxygen |
| doxygen-target-folder | Target folder in repo for deployed Doxygen docs (used only if branch is main or master) | no | doc/doxygen |
| generate-status-fpm | Generate STATUS.md for test_fpm jobs | no | false |
| generate-status-cmake | Generate STATUS.md for test_cmake jobs | no | false |
| generate-status-meson | Generate STATUS.md for test_meson jobs | no | false |
| generate-status-table | Generate and inject CI status table into README.md | no | false |
| update-readme-table | Whether to auto-update the status table in README.md and commit it | no | false |
| update-readme-user-name | Git user.name for README.md update commit | no | — |
| update-readme-user-email | Git user.email for README.md update commit | no | — |
| update-readme-token | GitHub token used to create README update PRs | no | — |
| update-readme-dependencies | Generate and inject one fpm dependency graph into README.md. Supported values: false, fpm-deps, fpm-modules | no | false |
| dependency-graph-working-directory | Directory containing fpm.toml for README dependency graph generation | no | . |
| dependency-graph-readme-file | README file to update with the dependency graph | no | README.md |
| dependency-graph-options | Extra one-line CLI options passed to the selected dependency graph tool | no | "" |
| fortitude-check | Run Fortitude check (https://github.com/PlasmaFAIR/fortitude) | no | false |
| fortitude-settings | Extra flags for 'fortitude check' | no | --output-format github |
Outputs
no outputs