Files
Bubberstation/.github/workflows/setup_build_artifacts.yml
Gaxeer a3aec50f1a Pre compile builds for tests (#90905)
## 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>


![image](https://github.com/user-attachments/assets/af94f91a-50df-4a30-a51e-751429b55fd5)
</details>

<details>
<summary>
After
</summary>

Once per whole CI

![image](https://github.com/user-attachments/assets/0a31fbd2-145d-4f7f-9ea7-3e674b859da7)

Per each test

![image](https://github.com/user-attachments/assets/a9d5377f-add0-4c27-8f3c-9404915b285c)

</details>

## Changelog

Nothing player facing
2025-05-08 18:42:18 -04:00

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 }}