-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (44 loc) · 1.11 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Regression Test
on:
push:
branches: [develop, master]
pull_request:
jobs:
test:
name: TROVE ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.compiler }}
env:
OMP_NUM_THREADS: 1
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04 # Required for intel-mkl
arch:
- x64
compiler:
- gfortran
steps:
- uses: actions/checkout@v2
#- name: Cache benchmark data
#uses: actions/cache@v2
#env:
#cache-name: benchmark-data
#with:
#path: test/benchmarks
#key: benchmark-data
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: '3.9'
architecture: x64
- name: Install Intel MKL
run: sudo apt-get install -y intel-mkl
- name: Install pipenv environment
run: cd test && pip install pipenv && pipenv install
- name: Build
run: |
gfortran --version
make COMPILER=gfortran MODE=ci
- name: Test
run: make test