Build with the same configure flags as msys/mingw-w64-cros-gcc package #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build toolchain | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
binutils_branch: | |
description: 'Binutils branch to build' | |
required: false | |
default: 'woarm64' | |
gcc_branch: | |
description: 'GCC branch to build' | |
required: false | |
default: 'woarm64' | |
mingw_branch: | |
description: 'Mingw branch to build' | |
required: false | |
default: 'woarm64' | |
env: | |
BINUTILS_BRANCH: ${{ github.event.inputs.binutils_branch }} | |
GCC_BRANCH: ${{ github.event.inputs.gcc_branch }} | |
MINGW_BRANCH: ${{ github.event.inputs.mingw_branch }} | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential binutils-for-build texinfo bison flex zlib1g-dev libgmp-dev dejagnu libmpc-dev | |
- name: Run Bash Script | |
run: | | |
chmod +x ./build.sh | |
bash ./build.sh |