Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Setup fpm

v1

Setup fpm

package

Setup fpm

Setup the Fortran Package Manager for use in Github actions CI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup fpm

uses: fortran-lang/setup-fpm@v1

Learn more about this action in fortran-lang/setup-fpm

Choose a version

setup-fpm

GitHub Action to setup the Fortran Package Manager on Ubuntu, MacOS and Windows.

License: MIT Github actions

Usage

  - uses: lkedward/setup-fpm@v1

This will download the latest fpm version to the CI machine and add it to the path.

fpm can therefore be called from the command line as usual in your workflows:

e.g.:

  - run: fpm run

Options

use-bootstrap (optional,default:false) whether to fetch and use the legacy 'bootstrap' implementation

fpm-version (optional) the tag corresponding a Github release from which to fetch the fpm binary. If omitted, the latest fpm release at fortran-lang/fpm will be substituted.

fpm-repository (optional, default: https://github.com/fortran-lang/fpm) which Github fork to fetch release binaries from.