WIP: Add workflow doing comparative testing of toolchain branches accross multiple targets #7
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: Comparative test of toolchain branches accross multiple targets | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
binutils_branch_baseline: | |
description: 'Baseline Binutils branch' | |
required: false | |
default: 'upstream' | |
binutils_branch_changes: | |
description: 'Changes Binutils branch' | |
required: false | |
default: 'upstream' | |
gcc_branch_baseline: | |
description: 'Baseline GCC branch' | |
required: false | |
default: 'upstream' | |
gcc_branch_changes: | |
description: 'Changes GCC branch' | |
required: false | |
default: 'upstream' | |
mingw_branch_baseline: | |
description: 'Baseline MinGW branch' | |
required: false | |
default: 'upstream' | |
mingw_branch_changes: | |
description: 'Changes MinGW branch' | |
required: false | |
default: 'upstream' | |
workflow_call: | |
inputs: | |
binutils_branch_baseline: | |
type: string | |
binutils_branch_changes: | |
type: string | |
gcc_branch_baseline: | |
type: string | |
gcc_branch_changes: | |
type: string | |
mingw_branch_baseline: | |
type: string | |
mingw_branch_changes: | |
type: string | |
jobs: | |
build-and-test-toolchains: | |
name: Build and test toolchains | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [aarch64, x86_64] | |
platform: [w64-mingw32, pc-linux-gnu] | |
crt: [ucrt, libc] | |
exclude: | |
- arch: x86_64 | |
platform: pc-linux-gnu | |
- platform: w64-mingw32 | |
crt: libc | |
- platform: pc-linux-gnu | |
crt: ucrt | |
uses: ./.github/workflows/test-toolchain.yml | |
with: | |
binutils_branch_baseline: ${{ inputs.binutils_branch_baseline }} | |
binutils_branch_changes: ${{ inputs.binutils_branch_changes }} | |
gcc_branch_baseline: ${{ inputs.gcc_branch_baseline }} | |
gcc_branch_changes: ${{ inputs.gcc_branch_changes }} | |
mingw_branch_baseline: ${{ inputs.mingw_branch_baseline }} | |
mingw_branch_changes: ${{ inputs.mingw_branch_changes }} | |
arch: ${{ matrix.arch }} | |
platform: ${{ matrix.platform }} | |
crt: ${{ matrix.crt }} |