Skip to content

Update gcc and binutils to 15.2.0 and 2.45; misc updates #27

Update gcc and binutils to 15.2.0 and 2.45; misc updates

Update gcc and binutils to 15.2.0 and 2.45; misc updates #27

Workflow file for this run

name: Build libgcc
on:
push:
branches:
- 'trunk'
jobs:
libgcc:
strategy:
matrix:
target_arch: [i386, i686, x86_64, arm, aarch64, loongarch64, loongarch64-softfloat, riscv64, riscv64-softfloat, m68k]
name: Build and upload libgcc for ${{matrix.target_arch}}
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- name: Install dependencies
run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake wget
- name: Checkout code
uses: actions/checkout@v5
- name: Git config
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build the toolchain
run: ./do.sh
- name: Push new binaries
run: |
set -ex
git config user.name 'mintsuki'
git config user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/osdev0/libgcc-binaries.git
while true; do \
git pull --all; \
git add .; \
git commit -m "Upload binaries (${{matrix.target_arch}}) [ci skip]"; \
if git push origin trunk; then \
break; \
else \
git reset HEAD~1; \
fi; \
done