Fixes possible race condition. #727
Workflow file for this run
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: compilation test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: install software | |
run: sudo apt-get update; sudo apt-get install gfortran libopenmpi-dev libfftw3-dev | |
- name: test compilation | |
run: | | |
make libs | |
make && make clean | |
make FFLAGS+=-fopenmp LIBS+=-lfftw3_threads && make clean |