-
Notifications
You must be signed in to change notification settings - Fork 22
40 lines (39 loc) · 1.06 KB
/
ramscb-ci.yml
File metadata and controls
40 lines (39 loc) · 1.06 KB
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: 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 libnetcdf-dev libnetcdff-dev nco netcdf-bin
wget https://mirror.us-midwest-1.nexcess.net/gnu/gsl/gsl-2.5.tar.gz
tar xzf gsl-2.5.tar.gz
cd gsl-2.5.tar.gz
./configure && make && make install
cd ..
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 -O0
make
make testCI
- name: unit_tests
run: |
make unittest