derived-type_diagnostic: workaround some compile errors with flang-ne… #31
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: [ubuntu-22.04] | |
env: | |
FC: gfortran | |
GCC_V: 12 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: fortran-lang/[email protected] | |
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 --profile release --flag -ffree-line-length-0 |