-
Notifications
You must be signed in to change notification settings - Fork 44
57 lines (50 loc) · 1.36 KB
/
ccpp.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
53
54
55
56
57
name: C/C++ CI
on: [push]
jobs:
build:
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
# runs-on: ubuntu-latestq
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: apt install
# run: sudo apt install csh gfortran pgplot5 libhdf4-dev libhdf5-dev libcfitsio-dev libnetcdf-dev -y
# run: sudo apt install csh gfortran pgplot5
run: sudo apt install csh
- name: autoconf
run: autoconf
- name: configure
# run: ./configure --with-yapp=pgplot --enable-debug
run: ./configure --without-csh
- name: build1
run: make build1
- name: build2
run: make build2
- name: build3
run: make build3
- name: build4
run: make build4
- name: make check
run: make check checklog
- name: make bench
run: make bench
- name: make bench5
run: make bench5
build2:
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- name: Configure
run: ./configure --without-csh --disable-fortran --with-yapp=ps
- name: Build1
run: make build1
- name: Build2
run: make build2
- name: Build3
run: make build3
- name: make check
run: make check checklog
- name: make bench
run: make bench
- name: make bench5
run: make bench5