Skip to content

Commit 4664cb2

Browse files
jessp01visit1985
authored andcommitted
CI using GH Actions
1 parent 4197981 commit 4664cb2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
cc: [ gcc-10, gcc-11, clang-13, clang-14 ]
11+
env:
12+
PREFIX: /usr/local/bin
13+
CC: ${{ matrix.cc }}
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: CC ver
18+
run: ${CC} -v
19+
- name: make
20+
run: make
21+
- name: make install
22+
run: sudo make install
23+
- name: ldd
24+
run: ldd $PREFIX/mdp
25+
- name: version
26+
run: $PREFIX/mdp -v
27+

0 commit comments

Comments
 (0)