Skip to content

Work around Cray Compiler Environment (CCE) 17.0.0 bugs #47

Work around Cray Compiler Environment (CCE) 17.0.0 bugs

Work around Cray Compiler Environment (CCE) 17.0.0 bugs #47

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
Build:
runs-on: [ubuntu-22.04]
env:
FC: gfortran
GCC_V: 12
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: fortran-lang/setup-fpm@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies Ubuntu
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt install -y gfortran-${GCC_V} build-essential
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
- name: Build and Test
run: |
fpm test