Skip to content

Commit cd36480

Browse files
authored
Create cmake2.yml
1 parent 581f010 commit cd36480

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/cmake2.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: cmake CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
types: [opened, synchronize, reopened]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Install cmake
18+
run: |
19+
sudo apt-get -qq update
20+
sudo apt install build-essential cmake
21+
- name: Build libdwarf
22+
run: |
23+
mkdir builddir && cd builddir
24+
cmake ../CMakeLists.txt
25+
make
26+
- name: Test runctest
27+
run: ctest -R self

0 commit comments

Comments
 (0)