Building PE-Fortran by han190 #26
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: PE-Fortran | |
run-name: Building PE-Fortran by ${{ github.actor }} | |
on: [push] | |
jobs: | |
Test-PE-Fortran: | |
runs-on : ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
gcc_version: [13] | |
env: | |
FC: gfortran-${{ matrix.gcc_version }} | |
steps: | |
- name: Use Checkout | |
uses: actions/checkout@v1 | |
- name: Use Fortran Package Manager | |
uses: fortran-lang/setup-fpm@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install gfortran | |
if: contains( matrix.os, 'ubuntu' ) | |
run: sudo apt install gfortran-${{ matrix.gcc_version }} | |
- name: Build PE-Fortran by GNU make | |
run: make profile=debug | |
- name: Test PE-Fortran by GNU make | |
run: make test profile=debug |