Skip to content

Commit

Permalink
Githubactions: CentOS7: Install glibc from source
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Sep 28, 2024
1 parent 49762ab commit 0310631
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build_centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,17 @@ jobs:
yum -y update
yum -y install epel-release
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
yum -y install checksec procps-ng jq file which curl wget glibc
yum -y install gcc gcc-c++ cmake gengetopt openssl openssl-devel libedit-devel libcurl-devel libusbx-devel
yum -y install pcsc-lite-devel help2man chrpath rpm-build redhat-rpm-config
yum -y install checksec procps-ng jq file which curl wget git
yum -y install bison make
git clone https://sourceware.org/git/glibc.git -b glibc-2.27 --depth 1
mkdir glibc/build
cd glibc/build
./../configure --prefix=/usr
make
make install
- name: install OpenSSL
run: |
Expand All @@ -42,14 +50,10 @@ jobs:
./config --prefix=$GITHUB_WORKSPACE/openssl --openssldir=$GITHUB_WORKSPACE/openssl
make
make install
ls $GITHUB_WORKSPACE/openssl
- name: clone the Yubico/yubihsm-shell repository
run: |
yum -y install git
git clone https://github.com/Yubico/yubihsm-shell.git
pwd
ls yubihsm-shell
git clone https://github.com/Yubico/yubihsm-shell.git -b 2.6.0
- name: apply environment specific changes to CMakeLists.txt
working-directory: yubihsm-shell
Expand Down Expand Up @@ -143,7 +147,7 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2
with:
name: "yubihsm-shell-${{ env.PLATFORM }}-amd64"
path: ${{ env.PLATFORM }}

0 comments on commit 0310631

Please sign in to comment.