forked from openSUSE/snapper
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (23 loc) · 883 Bytes
/
ci-leap.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 Leap
on: [push, pull_request]
jobs:
Tests:
runs-on: ubuntu-latest
container: opensuse/leap
steps:
- name: Install additional packages
run: zypper --non-interactive in --no-recommends autoconf automake dbus-1-devel docbook-xsl-stylesheets e2fsprogs-devel gcc-c++ gettext-runtime glibc-locale gzip libacl-devel libboost_system-devel libboost_test-devel libboost_thread-devel libbtrfs-devel libjson-c-devel libmount-devel libtool libxml2-devel libxslt make pam-devel xz
- name: List installed packages
run: rpm -qa | 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