Skip to content

Commit

Permalink
Add GitHub Actions workflow to build glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerrand committed Nov 14, 2023
1 parent 7d34b47 commit 4a8cf5c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build binaries

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
GLIBC_VERSION: 2.38

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Create directory for storing artefacts
run: mkdir -p artefacts
- name: Create Docker image
run: docker build . --file Dockerfile --tag sgerrand/glibc-builder:$GITHUB_SHA1
- name: Compile glibc package
run: docker run --rm --env GLIBC_VERSION --env STDOUT=1 sgerrand/glibc-builder:$GITHUB_SHA1 > artefacts/glibc-bin-$GLIBC_VERSION-0-$(uname -m).tar.gz

0 comments on commit 4a8cf5c

Please sign in to comment.