Skip to content

Commit ae5591f

Browse files
authored
Merge pull request #33 from certik/ci-linux
Test every PR and master on Linux
2 parents 221679b + f6fd4c7 commit ae5591f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: .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)