Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./
- name: Check installation
run: |
./scripts/verify/verify_install.sh /usr/local/bin/gfortran
./scripts/test/test_install.sh /usr/local/bin/gfortran
test_windows:
name: Test (Windows)
runs-on: windows-latest
Expand All @@ -35,4 +35,4 @@ jobs:
- name: Check installation
shell: pwsh
run: |
./scripts/verify/verify_install.ps1
./scripts/test/test_install.ps1
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,41 @@

An action to install the [GNU Fortran](https://gcc.gnu.org/fortran/) compiler.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [Usage](#usage)
- [Install location](#install-location)
- [Linux](#linux)
- [MacOS](#macos)
- [Windows](#windows)
- [Disclaimer](#disclaimer)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## Usage

To use this action, add a step like the following to your workflow:

```yaml
- name: Install GNU Fortran
uses: modflowpy/install-gfortran-action@v1
uses: modflowpy/install-gfortran-action@v0.0.1
```

### Install location
## Install location

#### Linux
### Linux

On Linux `gfortran` version 10 is installed to `/usr/bin/gfortran-10` and symlinked to `/usr/local/bin/gfortran`.

#### MacOS
### MacOS

On MacOS `gfortran` version 11 is installed to `/usr/local/bin/gfortran-11` and symlinked to `/usr/local/bin/gfortran`.

#### Windows
### Windows

On Windows `gfortran` is installed via Chocolatey.

## Disclaimer

On Windows `gfortran` is installed via Chocolatey.
This software is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The software has not received final approval by the U.S. Geological Survey (USGS). No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. The software is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the software.