We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a8134d + aa19da6 commit 21337baCopy full SHA for 21337ba
.github/workflows/ci.yml
@@ -0,0 +1,32 @@
1
+name: CI
2
+
3
+on: push
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
24
+ - name: Build and Test
25
26
+ mkdir build
27
+ cd build
28
+ cmake -Wdev -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug" ..
29
+ make -j $(nproc)
30
+ ctest --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
31
+ make install
32
+ make uninstall
0 commit comments