Created
March 20, 2024 00:08
-
-
Save vadz/5fdf026e04aae0c7b8e4055881d0225b to your computer and use it in GitHub Desktop.
Workflow to build glibc-2.28 under Ubuntu 18.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build glibc 2.28 under Ubuntu 18.04 to be able to use it with node 20. | |
name: Build glibc 2.28 under Ubuntu 18.04 | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:18.04 | |
name: Build glibc 2.28 | |
steps: | |
- name: Set up | |
run: | | |
apt-get update | |
apt-get install -y bison gawk gcc g++ make wget | |
- name: Build glibc 2.28 | |
run: | | |
wget https://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz | |
tar zxf glibc-2.28.tar.gz | |
cd glibc-2.28 | |
mkdir glibc-build | |
cd glibc-build | |
../configure --prefix=/opt/glibc-2.28 | |
make -j`nproc` | |
make install | |
- name: Make archive | |
run: | | |
cd / | |
tar jcf glibc-2.28.tar.bz2 /opt/glibc-2.28 | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: glibc-2.28-ubuntu-18.04 | |
path: /glibc-2.28.tar.bz2 | |
retention-days: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment