Skip to content

fix gfortran macos

fix gfortran macos #7

Workflow file for this run

name: Job1
on: [push]
jobs:
linux:
name: Job1 - Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install
run: sudo apt install gcc g++ gfortran m4 patch git liblapack-dev flex bison
- name: Configure
run: |
tar xvf AutoGeneratedFile.tar.gz
./configure --without-mpi --prefix="${HOME}/freefem"
- name: Build
run: make -j2
- name: Check
run: make check | true
- name: Install
run: make install
macos:
name: Job1 - MacOS
runs-on: macos-latest
env:
CC: gcc
CXX: g++
FC: gfortran
F77: gfortran
steps:
- uses: actions/checkout@main
- name: Install
run: brew install gcc m4 git flex bison
- name: Ensure gfortran
run: ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran
- name: Configure
run: |
tar xvf AutoGeneratedFile.tar.gz
./configure --without-mpi --prefix="${HOME}/freefem"
- name: Build
run: make -j2
- name: Check
run: make check | true
- name: Install
run: make install
windows:
name: Job1 - Windows
runs-on: windows-latest
steps:
- name: TODO
run: echo TODO