Skip to content

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in the artifacts group #44

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in the artifacts group

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in the artifacts group #44

Workflow file for this run

name: Build bootstrap binaries for glibc on Linux
on:
pull_request:
paths:
- .github/workflows/build.yml
- "build-*.sh"
- debian7/Dockerfile
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
binary:
- binutils
- bison
- gawk
- gcc
- make
- python3
- sed
include:
- container: debian7
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Build Docker image
run: docker build --tag ${{matrix.container}} .
working-directory: debian7
- name: Run Docker container
run: docker run --rm --detach --user linuxbrew --name ${{github.sha}} --workdir /home/linuxbrew --volume "$(pwd):/home/linuxbrew/glibc-bootstrap" ${{matrix.container}} sleep inf
- name: Build ${{matrix.binary}}
run: docker exec ${{github.sha}} /bin/bash -c "/home/linuxbrew/glibc-bootstrap/build-${{matrix.binary}}.sh"
- name: Copy binaries from container
run: docker cp ${{github.sha}}:/home/linuxbrew/bootstrap-binaries .
- name: Upload binaries to GitHub Actions
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: bootstrap-${{matrix.binary}}
path: bootstrap-binaries