-
Notifications
You must be signed in to change notification settings - Fork 22
36 lines (35 loc) · 973 Bytes
/
ramscb-ci.yml
File metadata and controls
36 lines (35 loc) · 973 Bytes
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
name: ramscb-ci
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
basic-suite:
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y make gcc g++ gfortran
sudo apt-get install -y make libopenmpi-dev openmpi-bin
sudo apt-get install -y libgsl-dev libgslcblas0 gsl-bin libgsl-dbg
sudo apt-get install -y libnetcdf-dev libnetcdff-dev nco netcdf-bin
gfortran --version
gsl-config --version
- name: Checkout
uses: actions/checkout@v2
- name: ram_test_tr
run: |
export PERL5LIB=$PERL5LIB:`pwd`
./Config.pl -install -compiler=gfortran -mpi=openmpi -openmp -ncdf -gsl -O2
make
make testCI
- name: unit_tests
run: |
make unittest