Add interfaces for prif_coshape
and prif_image_index
to
#320
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
Build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-11, ubuntu-22.04] | |
env: | |
PREFIX: install | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- uses: fortran-lang/setup-fpm@v4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install on Ubuntu | |
if: contains(matrix.os, 'ubuntu') | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential gfortran-13 g++-13 pkg-config make | |
./install.sh --prefix=${PREFIX} | |
- name: Install on macOS | |
if: contains(matrix.os, 'macos') | |
run: | | |
./install.sh --prefix=${PREFIX} | |
- name: Run unit tests | |
run: | | |
export GASNET_PSHM_NODES=8 | |
./build/run-fpm.sh test |