Skip to content

Commit

Permalink
CI: Add support for ALT Linux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vt-alt authored and mimizohar committed Jul 15, 2021
1 parent aef3646 commit 01cb906
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
24 changes: 24 additions & 0 deletions ci/alt.sh
Original file line number Diff line number Diff line change
@@ -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 envirenment 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

0 comments on commit 01cb906

Please sign in to comment.