Skip to content

Bump fortran-curl version to 0.6.0 #84

Bump fortran-curl version to 0.6.0

Bump fortran-curl version to 0.6.0 #84

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
gcc_v: [11, 12]
env:
FPM_FC: gfortran-${{ matrix.gcc_v }}
steps:
- uses: actions/checkout@v2
- name: Set up Fortran Package Manager
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install curl development headers on Ubuntu
if: contains( matrix.os, 'ubuntu' )
run: sudo apt install -y libcurl4-openssl-dev
- name: Install GCC compilers on macOS
if: contains( matrix.os, 'macos')
run: |
brew install gcc@${{ matrix.gcc_v }} || brew upgrade gcc@${{ matrix.gcc_v }} || true
brew link gcc@${{ matrix.gcc_v }}
- name: Build with GCC
run: fpm build
- name: Test with GCC
run: fpm test