fix gfortran macos #7
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: 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 |