Skip to content

Commit 3c3348c

Browse files
jvdp1certik
andauthored
Test every PR and master on Linux (#3)
We will implement macOS and Windows testing in other PRs. This way at least Linux testing is done. Co-authored-by: Ondřej Čertík <[email protected]>
1 parent 0bad93a commit 3c3348c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
6-
build:
7-
6+
Linux:
87
runs-on: ubuntu-latest
9-
108
steps:
119
- uses: actions/checkout@v1
12-
- name: Run a one-line script
13-
run: echo Hello, world!
14-
- name: Run a multi-line script
15-
run: |
16-
echo Add other actions to build,
17-
echo test, and deploy your project.
10+
- name: Install GFortran
11+
run: sudo apt-get install gfortran
12+
- name: cmake
13+
run: cmake .
14+
- name: make
15+
run: make
16+
- name: test
17+
run: ctest --output-on-failure

0 commit comments

Comments
 (0)