Merge pull request #33 from mpaiao/mpaiao-pr-fcfuncfix #40
This file contains hidden or 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: mpi-serial | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the main branch | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - id: load-env | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install gfortran | |
| sudo apt-get install autoconf | |
| - name: Build mpi-serial | |
| id: build | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| autoreconf -i | |
| ./configure CFLAGS="-Wall -Werror -Wno-format" | |
| make | |
| make check |