mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 08:06:33 +01:00
a3aec50f1a
## About The Pull Request Pre compile build and save as artifact for further use in integration and alternate tests. Which saves us some time on compilation (compilation takes ~50s) for every test - we just download compilation output artifact. So totally we save 434s ( (50s * 11 tests) - (83s + 3s * 11 tests) ) for runners. Workflow also supports multiple alternate tests. <details> <summary> Before (per each test) </summary>  </details> <details> <summary> After </summary> Once per whole CI  Per each test  </details> ## Changelog Nothing player facing
22 lines
391 B
YAML
22 lines
391 B
YAML
name: Setup build artifacts
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
build_versions:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
run:
|
|
uses: ./.github/workflows/setup_build_artifact.yml
|
|
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
setup: ${{ fromJSON(inputs.build_versions) }}
|
|
|
|
with:
|
|
major: ${{ matrix.setup.major }}
|
|
minor: ${{ matrix.setup.minor }}
|