File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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 : Install build dependencies
14+ run : |
15+ sudo sed -i 's/Types: deb$/Types: deb deb-src/g' \
16+ /etc/apt/sources.list.d/ubuntu.sources
17+ sudo apt-get update
18+ sudo apt-get -y build-dep libguestfs
19+ # Git is needed to run git submodule command.
20+ # json-c is apparently missing from the Ubuntu package deps.
21+ sudo apt-get -y install git libjson-c-dev
22+ - name : Checkout sources
23+ uses : actions/checkout@v2
24+ - name : Checkout submodule
25+ run : |
26+ git submodule update --init
27+ - name : Compile the code
28+ run : |
29+ autoreconf -fiv
30+ ./configure
31+ make
32+ - name : Run the quick test
33+ run : |
34+ make quickcheck
35+ - name : Run the full tests
36+ run : |
37+ make check
You can’t perform that action at this time.
0 commit comments