Skip to content

Commit df1848d

Browse files
Merge pull request #153 from FrNecas/frnecas-actions
Replace TravisCI with Github Actions
2 parents 9c5d5e5 + 16250e5 commit df1848d

File tree

2 files changed

+27
-43
lines changed

2 files changed

+27
-43
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
compiler: [g++, clang++]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Run the tests
17+
env:
18+
COMPILER: ${{ matrix.compiler }}
19+
run: ./build.sh $COMPILER -j4 && cd regression && make test
20+
lint:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Get the latest master
25+
run: git fetch origin master:master
26+
- name: Run lint
27+
run: scripts/run_lint.sh master HEAD

.travis.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)