Skip to content

Commit b8807c9

Browse files
committed
Githubactions: CentOS7: Install glibc from source
1 parent 49762ab commit b8807c9

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/build_centos.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,17 @@ jobs:
3030
yum -y update
3131
yum -y install epel-release
3232
33-
yum -y install gcc gcc-c++ cmake gengetopt openssl openssl-devel libedit-devel libcurl-devel libusbx-devel pcsc-lite-devel help2man chrpath rpm-build redhat-rpm-config
34-
35-
yum -y install checksec procps-ng jq file which curl wget glibc
33+
yum -y install gcc gcc-c++ cmake gengetopt openssl openssl-devel libedit-devel libcurl-devel libusbx-devel
34+
yum -y install pcsc-lite-devel help2man chrpath rpm-build redhat-rpm-config
35+
yum -y install checksec procps-ng jq file which curl wget git
36+
37+
yum -y install bison make
38+
git clone https://sourceware.org/git/glibc.git -b glibc-2.27 --depth 1
39+
mkdir glibc/build
40+
cd glibc/build
41+
./../configure --prefix=/usr
42+
make
43+
make install
3644
3745
- name: install OpenSSL
3846
run: |
@@ -42,14 +50,10 @@ jobs:
4250
./config --prefix=$GITHUB_WORKSPACE/openssl --openssldir=$GITHUB_WORKSPACE/openssl
4351
make
4452
make install
45-
ls $GITHUB_WORKSPACE/openssl
4653
4754
- name: clone the Yubico/yubihsm-shell repository
4855
run: |
49-
yum -y install git
50-
git clone https://github.com/Yubico/yubihsm-shell.git
51-
pwd
52-
ls yubihsm-shell
56+
git clone https://github.com/Yubico/yubihsm-shell.git -b 2.6.0
5357
5458
- name: apply environment specific changes to CMakeLists.txt
5559
working-directory: yubihsm-shell

0 commit comments

Comments
 (0)