Skip to content

Commit 08eb183

Browse files
committed
github: Try adding a basic github CI test
1 parent e7b36e0 commit 08eb183

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Run the job below on every push to master branch.
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
# Runs basic configure, make and make check.
8+
jobs:
9+
tests:
10+
name: Build and run the tests
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout sources
14+
uses: actions/checkout@v2
15+
- name: Install build dependencies
16+
run: |
17+
sudo sed -i 's/# deb-src/deb-src/' /etc/apt/sources.list
18+
sudo apt-get update
19+
sudo apt-get -y build-dep libguestfs
20+
- name: Build the code
21+
run: |
22+
autoreconf -fiv
23+
./configure
24+
make
25+
- name: Run the quick test
26+
run: |
27+
make quickcheck
28+
- name: Run the full tests
29+
run: |
30+
make check

0 commit comments

Comments
 (0)