Skip to content

Commit 06aa508

Browse files
authored
Create build.yml
1 parent 08950de commit 06aa508

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: C/C++ CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install dependencies
13+
run: |
14+
apt install libgsl-dev g++ cmake python3-devel python3-numpy
15+
- name: configure
16+
run: mkdir -p build && cd build && cmake ..
17+
- name: make
18+
run: make
19+
- name: make check
20+
run: make check
21+
- name: make distcheck
22+
run: make distcheck

0 commit comments

Comments
 (0)