Skip to content

Update ford documentation #6

Update ford documentation

Update ford documentation #6

Workflow file for this run

name: test
on: [push]
jobs:
Test:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
toolchain:
- {compiler: gcc}
- {compiler: intel}
- {compiler: intel-classic}
- {compiler: nvidia-hpc}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Fortran Package Manager (fpm)
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Fortran Compiler
uses: fortran-lang/setup-fortran@main
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Run tests (Debug)
run: fpm test --profile debug --compiler ${{ env.FC}}
env:
FC: ${{ steps.setup-fortran.outputs.fc }}
- name: Run tests (Release)
run: fpm test --profile release --compiler ${{ env.FC}}
env:
FC: ${{ steps.setup-fortran.outputs.fc }}