-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (53 loc) · 1.85 KB
/
build-everything.yml
File metadata and controls
57 lines (53 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Build - Everything
on:
workflow_call:
inputs:
matrix-file-name:
description: 'Json File containing arbitrary strategy-matrix; MUST be inside repository ./github folder'
required: true
type: string
kotlin-version:
description: 'Override Kotlin version?'
required: false
default: ''
type: string
testballoon-version:
description: 'Override TestBalloon version (full version string)?'
required: false
default: ''
type: string
build-matrix-runner:
description: 'Name of target runner to parse build matrix; defaults to ubuntu-latest'
required: false
type: string
default: 'ubuntu-latest'
jobs:
prepare-matrix:
name: Prepare build matrix
uses: a-sit-plus/internal-workflows/.github/workflows/prepare-matrix.yml@v2
with:
file-name: ${{ inputs.matrix-file-name }}
runner: ${{ inputs.build-matrix-runner }}
build-jar:
name: Build JAR - ${{ matrix.module }}
needs: prepare-matrix
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
uses: a-sit-plus/internal-workflows/.github/workflows/build-jar-matrix-entry.yml@v2
with:
module: ${{ matrix.module }}
kotlin-version: ${{ inputs.kotlinVersion }}
testballoon-version: ${{ inputs.testballoonVersion }}
build-xc:
name: Build XCFramework - ${{ matrix.module }}
needs: prepare-matrix
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
uses: a-sit-plus/internal-workflows/.github/workflows/build-xc-matrix-entry.yml@v2
with:
module: ${{ matrix.module }}
artifact-name: ${{ matrix.artifactName }}
kotlin-version: ${{ inputs.kotlinVersion }}
testballoon-version: ${{ inputs.testballoonVersion }}