Skip to content

Translated using Weblate (Macedonian) #532

Translated using Weblate (Macedonian)

Translated using Weblate (Macedonian) #532

Workflow file for this run

name: CI Tumbleweed
on: [push, pull_request]
jobs:
Tests:
runs-on: ubuntu-latest
container: opensuse/tumbleweed
strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]
steps:
- name: Install additional packages
run: |
if [ "${{ matrix.compiler }}" = "gcc" ]; then
zypper --non-interactive install --no-recommends gcc-c++
elif [ "${{ matrix.compiler }}" = "clang" ]; then
zypper --non-interactive install --no-recommends clang
fi
zypper --non-interactive install --no-recommends autoconf automake docbook-xsl-stylesheets gettext-runtime glibc-locale libboost_headers-devel libboost_test-devel libjson-c-devel libstorage-ng-devel libtool libxslt make xz
- name: List installed packages
run: rpm -qa | sort
- name: Git checkout
uses: actions/checkout@v1
- name: Configure
run: |
if [ "${{ matrix.compiler }}" = "gcc" ]; then
export CC=gcc
export CXX=g++
elif [ "${{ matrix.compiler }}" = "clang" ]; then
export CC=clang
export CXX=clang++
fi
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