Skip to content

Commit 9e9c415

Browse files
committed
github: Try adding a basic github CI test
1 parent e7b36e0 commit 9e9c415

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 apt-get update
18+
sudo apt-get -y build-dep libguestfs
19+
- name: Build the code
20+
- run: |
21+
autoreconf -fiv
22+
./configure
23+
make
24+
- name: Run the quick test
25+
- run: |
26+
make quickcheck
27+
- name: Run the full tests
28+
- run: |
29+
make check

0 commit comments

Comments
 (0)