File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-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+ sudo apt-get -y install git
20+ - name : Checkout sources
21+ uses : actions/checkout@v2
22+ - name : Checkout submodule
23+ run : |
24+ git submodule init --update
25+ - name : Compile the code
26+ run : |
27+ autoreconf -fiv
28+ ./configure
29+ make
30+ - name : Run the quick test
31+ run : |
32+ make quickcheck
33+ - name : Run the full tests
34+ run : |
35+ make check
You can’t perform that action at this time.
0 commit comments