Skip to content

Improved the coarse-grained stuff. #9

Improved the coarse-grained stuff.

Improved the coarse-grained stuff. #9

Workflow file for this run

name: build_test_fpm
on: [pull_request, push]
jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
env:
GCC_V: 12
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
if: contains( matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -yq cmake gfortran mpich liblapack-dev libsymspg-dev
sudo apt clean -q
git clone https://github.com/sourceryinstitute/OpenCoarrays && \
mkdir OpenCoarrays/opencoarrays-install && \
cd OpenCoarrays/opencoarrays-install && \
git checkout tags/2.10.1 && \
FC="$(command -v gfortran)" CC="$(command -v gcc)" cmake .. && \
sudo make install && \
caf --version && \
cafrun --version
- name: Build with fpm
run: |
export FPM_FC=caf && \
export FPM_FFLAGS="-g -O2 -fPIC -fbounds-check -Wunused -Wconversion -Wunderflow -Wdo-subscript" && \
fpm build; fpm install; fpm test