-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (54 loc) · 1.91 KB
/
Copy pathbuild-test-linux.yml
File metadata and controls
76 lines (54 loc) · 1.91 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Makefile CI Ubuntu
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: checkout NR-utilties
uses: actions/checkout@v3
with:
repository: sscollis/NR-utilities
token: ${{ secrets.GH_PAT }}
path: NR-utilities
- name: configure NR-utilities
run: cd NR-utilities && ln -s gcc.mak Makefile
- name: build NR-utilities
run: cd NR-utilities && make
- name: install ndiff
run: curl -s -O ftp://ftp.math.utah.edu/pub/misc/ndiff-2.00.tar.gz && tar -xzf ndiff-2.00.tar.gz && cd ndiff-2.00 && ./configure && make all && ./ndiff -h && cp ndiff $GITHUB_WORKSPACE
- name: Add ndiff to path
run: echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
- name: check ndiff PATH
run: echo $PATH && ./ndiff -h && pwd && ls && echo ====== && ndiff -h
- name: checkout fsc
uses: actions/checkout@v3
with:
repository: sscollis/fsc
path: fsc
- name: configure fsc
run: cd fsc && ln -s gcc.mak Makefile
- name: build fsc
run: cd fsc && make
- name: install OpenBLAS
run: brew install openblas
- name: install fsc
run: ls $GITHUB_WORKSPACE && echo break && ls $GITHUB_WORKSPACE/..
- name: print Github environment
run: env | sort
#- name: Add util to path
# run: echo "$GITHUB_WORKSPACE/util" >> $GITHUB_PATH
- name: echo paths
run: echo $HOME && echo $GITHUB_WORKSPACE && echo $PATH
#- name: install OpenBLAS
# run: brew install openblas
- name: configure shoot
run: ln -s gcc.mak Makefile
- name: build shoot
run: make USE_NR=1 USE_LINUXBREW_OPENBLAS=1 LIBNR_DIR=$GITHUB_WORKSPACE/NR-utilities
- name: test shoot
run: cd test; ./run.sh