-
Notifications
You must be signed in to change notification settings - Fork 3
74 lines (63 loc) · 2.38 KB
/
do-builds.yml
File metadata and controls
74 lines (63 loc) · 2.38 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
58
59
60
61
62
63
64
65
66
67
68
name: Build
# called from a workflow in each repository
on:
workflow_call:
inputs:
commit_id:
description: "The commit sha or branch to build from"
required: true
default: "master"
type: string
dependencies:
description: 'A comma separated list of owner/repo dependencies to pull the latest build for (such as "linuxmint/xapp, linuxmint/cinnamon-desktop, linuxmint/cinnamon-menus")'
required: false
type: string
codespell_ignore_files_list:
description: 'A comma separated list of files to skip with codespell.'
required: false
type: string
codespell_ignore_words_list:
description: 'A comma separated list of words to ignore with codespell.'
required: false
type: string
skip_codespell:
description: 'Skip codespell entirely (for test package builds)'
required: false
type: boolean
default: false
upload_artifacts:
description: 'Upload build artifacts (for PR testing)'
required: false
type: boolean
default: false
artifact_retention_days:
description: 'Days to retain uploaded artifacts'
required: false
type: number
default: 7
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- mint_version: mint22
image: linuxmintd/mint22.3-amd64
display_name: Mint 22
codespell: true
- mint_version: lmde7
image: linuxmintd/lmde7-amd64
display_name: LMDE 7
codespell: false
uses: linuxmint/github-actions/.github/workflows/build-on-image.yml@master
with:
display_name: ${{ matrix.display_name }}
mint_version: ${{ matrix.mint_version }}
image: ${{ matrix.image }}
commit_id: ${{ matrix.mint_version == 'lmde7' && github.event.repository.name == 'cjs' && 'mozjs128' || inputs.commit_id }}
dependencies: ${{ inputs.dependencies }}
codespell: ${{ !inputs.skip_codespell && matrix.codespell }}
codespell_ignore_files_list: ChangeLog,*.desktop,*.po,*.svg,LINGUAS,NEWS,${{ inputs.codespell_ignore_files_list }}
codespell_ignore_words_list: gir,${{ inputs.codespell_ignore_words_list }}
upload_artifacts: ${{ inputs.upload_artifacts }}
artifact_retention_days: ${{ inputs.artifact_retention_days }}