File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ Build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ fail-fast : true
10+
11+ env :
12+ FC : gfortran
13+ GCC_V : 10
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v2
18+
19+ - name : Install Dependencies
20+ run : |
21+ sudo apt install -y gfortran-${GCC_V} cmake mpich
22+ sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} 100
23+ git clone https://github.com/sourceryinstitute/opencoarrays
24+ mkdir -p opencoarrays/build
25+ cd opencoarrays/build
26+ cmake ..
27+ sudo make -j $(nproc) install
28+ cd -
29+ git clone https://github.com/fortran-lang/fpm
30+ cd fpm
31+ ./install.sh
32+
33+ - name : Build and Test
34+ run : |
35+ export PATH="${HOME}/.local/bin:$PATH"
36+ fpm test --compiler caf --runner "cafrun -n 4"
You can’t perform that action at this time.
0 commit comments