-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.01 KB
/
make.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Make
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
gfortran:
runs-on: ubuntu-latest
steps:
- name: Set up git user
run: |
git config --global user.name "koopmans-kcp-tester"
git config --global user.email ${{ secrets.TESTER_EMAIL }}
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gfortran libopenmpi-dev libblas-dev liblapack-dev fftw3-dev
- name: Configure
run: |
./configure MPIF90=mpif90
- name: Build
run: |
make all
- name: Test
run: |
make check
- name: Upload
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: test-data
path: |
tests/*/test.out.*