diff --git a/.github/workflows/build-gcc-release.yml b/.github/workflows/build-gcc-release.yml new file mode 100644 index 0000000..b61ee4a --- /dev/null +++ b/.github/workflows/build-gcc-release.yml @@ -0,0 +1,27 @@ +name: Build gcc release version +run-name: Build gcc ${{ inputs.version }} + +on: + workflow_dispatch: + inputs: + version: + description: 'GCC version to build (e.g. 5.5.0, 8.5.0)' + required: true + type: string + +jobs: + build: + runs-on: [ 'self-hosted', 'ce', 'linux', 'x64' ] + steps: + - name: Start from a clean directory + uses: AutoModality/action-clean@v1.1.0 + - uses: actions/checkout@v4 + - name: Run the build + uses: ./.github/actions/daily-build + with: + image: gcc + name: gcc-${{ inputs.version }} + command: build.sh + args: ${{ inputs.version }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}