forked from ublue-os/akmods
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-akmods-coreos-testing.yml
More file actions
117 lines (116 loc) · 3.48 KB
/
Copy pathbuild-akmods-coreos-testing.yml
File metadata and controls
117 lines (116 loc) · 3.48 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
#
# WARNING THIS IS A GENERATED WORKFLOW. DO NOT EDIT BY HAND!
#
# Generate the workflow by running `just generate-workflows` at git root
# Modify the inputs in workflow-templates
name: Build COREOS-TESTING akmods
on:
merge_group:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
schedule:
- cron: '07 0 * * *' # 0007 UTC everyday
workflow_dispatch:
jobs:
cache_kernel_coreos-testing_44:
name: Cache coreos-testing (44)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["aarch64","x86_64"]'
kernel_flavor: coreos-testing
version: 44
build-coreos-testing_44_common:
name: Build common coreos-testing (44)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
attestations: write
artifact-metadata: write
contents: read
id-token: write
packages: write
needs: cache_kernel_coreos-testing_44
with:
akmods_target: common
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_44.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 44
build-coreos-testing_44_nvidia-lts:
name: Build nvidia-lts coreos-testing (44)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
attestations: write
artifact-metadata: write
contents: read
id-token: write
packages: write
needs: cache_kernel_coreos-testing_44
with:
akmods_target: nvidia-lts
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_44.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 44
build-coreos-testing_44_nvidia-open:
name: Build nvidia-open coreos-testing (44)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
attestations: write
artifact-metadata: write
contents: read
id-token: write
packages: write
needs: cache_kernel_coreos-testing_44
with:
akmods_target: nvidia-open
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_44.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 44
build-coreos-testing_44_zfs:
name: Build zfs coreos-testing (44)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
attestations: write
artifact-metadata: write
contents: read
id-token: write
packages: write
needs: cache_kernel_coreos-testing_44
with:
akmods_target: zfs
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_44.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 44
check-coreos-testing_44:
name: Check coreos-testing (44)
permissions:
actions: read
contents: read
needs: [build-coreos-testing_44_common,build-coreos-testing_44_nvidia-lts,build-coreos-testing_44_nvidia-open,build-coreos-testing_44_zfs]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0