1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-04-27 14:22:31 +02:00

CI: Add support for ALT Linux

Build on Sisyphus branch which is bleeding edge repository.
Package manager is apt-rpm (not APT as it may look from the scripts).

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Vitaly Chikunov 2021-07-15 23:47:28 +03:00 committed by Mimi Zohar
parent aef36466c9
commit 58a84044fd
3 changed files with 33 additions and 0 deletions

View File

@ -92,6 +92,11 @@ jobs:
CC: clang
TSS: ibmtss
- container: "alt:sisyphus"
env:
CC: gcc
TSS: libtpm2-tss-devel
container:
image: ${{ matrix.container }}
env: ${{ matrix.env }}

View File

@ -67,6 +67,10 @@ matrix:
env: DISTRO=debian:stable TSS=ibmtss
compiler: gcc
- os: linux
env: DISTRO=alt:sisyphus TSS=libtpm2-tss-devel
compiler: gcc
before_install:
# Tumbleweed requires podman and newest runc due docker incompatible with glibc 2.33 (faccessat2)
- CONTAINER="${CONTAINER:-docker}"

24
ci/alt.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh -ex
# SPDX-License-Identifier: GPL-2.0-only
#
# Install build env for ALT Linux
apt-get update -y
# rpm-build brings basic build environment with gcc, make, autotools, etc.
apt-get install -y \
$CC \
$TSS \
asciidoc \
attr \
docbook-style-xsl \
libattr-devel \
libkeyutils-devel \
libssl-devel \
openssl \
openssl-gost-engine \
rpm-build \
wget \
xsltproc \
xxd \
&& control openssl-gost enabled