-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (32 loc) · 1018 Bytes
/
Copy pathmakefile.yml
File metadata and controls
42 lines (32 loc) · 1018 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
37
38
39
40
41
42
name: Makefile CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: install-and-cache homebrew tools
# You may pin to the exact commit or the version.
# uses: tecoli-com/actions-use-homebrew-tools@8b892d82c1c2194af8c21f09dc45efdbc236bc51
uses: tecoli-com/actions-use-homebrew-tools@v0.4
with:
#
tools: 'gcc openblas'
#
cache: # optional, default is true
#
key: # optional
- name: Configure
run: ln -s gcc.mak Makefile
- name: Setup path
run: export PATH=/usr/local/bin:`pwd`:$PATH && echo $PATH
- name: Build
run: make FC=gfortran-11 F77=gfortran-11
- name: Run check
run: export PATH=/usr/local/bin:`pwd`:$PATH && cd test && ./mk-grid.sh && ../stag < short.inp | tee short.log
- name: Run distclean
run: cd test && ./cleanup