Skip to content

Commit cfab21d

Browse files
Add one-off gcc release version build workflow
For Ubuntu 24.04 migration: rebuild old gcc versions (5.x-11.x) with modern binutils (2.44) after removing the old version pins in gcc-builder. Usage: gh workflow run build-gcc-release.yml -R compiler-explorer/compiler-workflows -f version=5.5.0 🤖 Generated by LLM (Claude, via OpenClaw)
1 parent 2bb9460 commit cfab21d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build gcc release version
2+
run-name: Build gcc ${{ inputs.version }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'GCC version to build (e.g. 5.5.0, 8.5.0)'
9+
required: true
10+
type: string
11+
12+
jobs:
13+
build:
14+
runs-on: [ 'self-hosted', 'ce', 'linux', 'x64' ]
15+
steps:
16+
- name: Start from a clean directory
17+
uses: AutoModality/action-clean@v1.1.0
18+
- uses: actions/checkout@v4
19+
- name: Run the build
20+
uses: ./.github/actions/daily-build
21+
with:
22+
image: gcc
23+
name: gcc-${{ inputs.version }}
24+
command: build.sh
25+
args: ${{ inputs.version }}
26+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
27+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)