-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (27 loc) · 820 Bytes
/
CI.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
# This workflow will do a clean install of the dependencies,
# and build the source code of AFiD
name: AFiD CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# - name: Install GFortran # NB gfortran and build-essential already on VM
# run: |
# sudo apt-get install build-essential gfortran
- name: Install BLAS and LAPACK
run: |
sudo apt-get update
sudo apt-get install libblas-dev liblapack-dev
- name: Install Parallel HDF5
run: sudo apt-get install libhdf5-openmpi-dev
- name: Install FFTW library
run: sudo apt-get install libfftw3-dev
- name: Build AFiD
run: make