From df75ea00e4820a87d28690c1a0f5f315538300ce Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Fri, 11 Mar 2022 20:04:39 +0800 Subject: [PATCH] Create Glibc.yml --- .github/workflows/Glibc.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/Glibc.yml diff --git a/.github/workflows/Glibc.yml b/.github/workflows/Glibc.yml new file mode 100644 index 0000000..0503f8f --- /dev/null +++ b/.github/workflows/Glibc.yml @@ -0,0 +1,28 @@ +name: "WARP docker" + +on: + workflow_dispatch: + +jobs: + Building: + runs-on: centos-7 + name: "Build Glibc on CentOS 7" + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Build + uses: docker/login-action@v1 + run: | + yum -y install gcc bison make centos-release-scl + yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-binutils + source /opt/rh/devtoolset-8/enable + wget -O /usr/bin/make https://github.com/fscarmen/tools/raw/main/make + curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz + tar zxf glibc-2.28.tar.gz + mkdir -p ./glibc-2.28/build; cd ./glibc-2.28/build + ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin + make + make install + rm -rf ./glibc-2.28