Skip to content

Allow building tests with different toolchain variants #99

Allow building tests with different toolchain variants

Allow building tests with different toolchain variants #99

Workflow file for this run

name: Build main 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
env:
INSTALL_PATH: ${{ github.workspace }}/cross
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Dependencies
run: |
.github/scripts/install-dependencies.sh
- name: Run Build
run: |
./build.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: main-aarch64-w64-mingw32-toolchain
path: ${{ env.INSTALL_PATH }}
retention-days: 1