Skip to content

github: Try adding a basic github CI test #9

github: Try adding a basic github CI test

github: Try adding a basic github CI test #9

Workflow file for this run

# Run the job below on every push to master branch.
on:
push:
branches:
- master
# Runs basic configure, make and make check.
jobs:
tests:
name: Build and run the tests
runs-on: ubuntu-latest
steps:
- name: Install build dependencies
run: |
sudo sed -i 's/Types: deb$/Types: deb deb-src/g' \
/etc/apt/sources.list.d/ubuntu.sources
sudo apt-get update
sudo apt-get -y build-dep libguestfs
sudo apt-get -y install git
- name: Checkout sources
uses: actions/checkout@v2
- name: Checkout submodule
run: |
git submodule update --init
- name: Compile the code
run: |
autoreconf -fiv
./configure
make
- name: Run the quick test
run: |
make quickcheck
- name: Run the full tests
run: |
make check