Skip to content

Commit 22ffb35

Browse files
committed
github actions integration
1 parent a467c28 commit 22ffb35

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/githubci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: prepare
13+
run: |
14+
mkdir -p build
15+
cd build
16+
cmake ..
17+
make update -j
18+
- name: build
19+
run: |
20+
cd build
21+
make -j
22+
make install
23+
- name: check
24+
run: |
25+
cd build
26+
make check -j
27+
- name: package
28+
run: |
29+
cd build
30+
make package
31+
rm -rf out/_CPack_Packages
32+
- name: archive results
33+
uses: actions/upload-artifact@v1
34+
with:
35+
name: packages
36+
path: build/out

0 commit comments

Comments
 (0)