Skip to content

Greatly simplify test-suite driver programs #14

Greatly simplify test-suite driver programs

Greatly simplify test-suite driver programs #14

name: Build with gfortran-14
on: [push, pull_request]
jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-24.04]
fail-fast: true
env:
GCC_VER: 14
FC: gfortran-$GCC_VER
CXX: g++-$GCC-VER
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: fortran-lang/setup-fpm@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies on Ubuntu
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y build-essential $FC $CC
- name: Build and Test with GCC
run: |
fpm --version
$FC --version
fpm test --compiler $FC