Skip to content

Commit f6fd4c7

Browse files
committed
Test every PR and master on Linux
We will implement macOS and Windows testing in other PRs. This way at least Linux testing is done.
1 parent 221679b commit f6fd4c7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

+10-10
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)