forked from openSUSE/snapper
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (23 loc) · 969 Bytes
/
ci-ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI Ubuntu
on: [push, pull_request]
jobs:
Tests:
runs-on: ubuntu-latest
container: ubuntu
steps:
- name: Install additional packages
run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends acl-dev autoconf automake docbook-xsl e2fslibs-dev g++ gettext language-pack-de language-pack-fr language-pack-en libboost-dev libboost-system-dev libboost-test-dev libboost-thread-dev libbtrfs-dev libdbus-1-dev libjson-c-dev libmount-dev libpam-dev libtool libxml2-dev libz-dev make ncurses-dev xsltproc xz-utils
- name: List installed packages
run: apt list --installed | sort
- name: Git checkout
uses: actions/checkout@v1
- name: Configure
run: make -f Makefile.repo
- name: Compile
run: make -j 2
- name: Install
run: make install
- name: Run unit tests
run: make -j 2 check VERBOSE=1
- name: Make package
run: make package