mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 14:43:37 +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:
parent
aef36466c9
commit
58a84044fd
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -92,6 +92,11 @@ jobs:
|
|||||||
CC: clang
|
CC: clang
|
||||||
TSS: ibmtss
|
TSS: ibmtss
|
||||||
|
|
||||||
|
- container: "alt:sisyphus"
|
||||||
|
env:
|
||||||
|
CC: gcc
|
||||||
|
TSS: libtpm2-tss-devel
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.container }}
|
image: ${{ matrix.container }}
|
||||||
env: ${{ matrix.env }}
|
env: ${{ matrix.env }}
|
||||||
|
@ -67,6 +67,10 @@ matrix:
|
|||||||
env: DISTRO=debian:stable TSS=ibmtss
|
env: DISTRO=debian:stable TSS=ibmtss
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
env: DISTRO=alt:sisyphus TSS=libtpm2-tss-devel
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
# Tumbleweed requires podman and newest runc due docker incompatible with glibc 2.33 (faccessat2)
|
# Tumbleweed requires podman and newest runc due docker incompatible with glibc 2.33 (faccessat2)
|
||||||
- CONTAINER="${CONTAINER:-docker}"
|
- CONTAINER="${CONTAINER:-docker}"
|
||||||
|
24
ci/alt.sh
Executable file
24
ci/alt.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user