3
3
push :
4
4
branches :
5
5
- main
6
- merge_group : # this is a new line
7
- types : [checks_requested] # this is a new line
6
+ merge_group :
7
+ types : [checks_requested]
8
8
pull_request :
9
9
branches :
10
10
- main
23
23
steps :
24
24
- name : Clone Github Repo Action
25
25
uses : actions/checkout@v4
26
- - name : Setup apptainer
27
- uses : eWaterCycle/setup-apptainer@v2.0.0
28
- - name : Get container from cache
29
- id : cache-sif
30
- uses : actions/cache@v4
31
- with :
32
- path : .singularity/image.sif
33
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
34
- - name : Get gems and node files from cache
35
- id : cache-bundle-npm
36
- uses : actions/cache@v4
37
- with :
38
- path : |
39
- .home/.gems
40
- node_modules
41
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
42
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
43
- name : Build container
44
- run : ./bin/build_container
45
- - name : Setup project
46
- run : ./bin/setup
26
+ - name : singularity setup
27
+ uses : ./.github/actions/singularity-setup
47
28
- name : Run smoke
48
29
run : ./do test:smoke
49
30
regress-gen-isa-manual :
@@ -55,81 +36,30 @@ jobs:
55
36
steps :
56
37
- name : Clone Github Repo Action
57
38
uses : actions/checkout@v4
58
- - name : Setup apptainer
59
- uses : eWaterCycle/setup-apptainer@v2.0.0
60
- - name : Get container from cache
61
- id : cache-sif
62
- uses : actions/cache@v4
63
- with :
64
- path : .singularity/image.sif
65
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
66
- - name : Get gems and node files from cache
67
- id : cache-bundle-npm
68
- uses : actions/cache@v4
69
- with :
70
- path : |
71
- .home/.gems
72
- node_modules
73
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
74
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
75
- name : Build container
76
- run : ./bin/build_container
39
+ - name : singularity setup
40
+ uses : ./.github/actions/singularity-setup
77
41
- name : Generate HTML ISA manual
78
42
run : ./do gen:html_manual
79
43
regress-gen-instruction-appendix :
80
- runs-on : ubuntu-latest
81
- env :
82
- SINGULARITY : 1
83
- steps :
84
- - name : Clone Github Repo Action
85
- uses : actions/checkout@v4
86
- - name : Setup apptainer
87
- uses : eWaterCycle/setup-apptainer@v2.0.0
88
- - name : Get container from cache
89
- id : cache-sif
90
- uses : actions/cache@v4
91
- with :
92
- path : .singularity/image.sif
93
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
94
- - name : Get gems and node files from cache
95
- id : cache-bundle-npm
96
- uses : actions/cache@v4
97
- with :
98
- path : |
99
- .home/.gems
100
- node_modules
101
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
102
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
103
- name : Build container
104
- run : ./bin/build_container
105
- - name : Generate instruction appendix
106
- run : ./do gen:instruction_appendix
44
+ runs-on : ubuntu-latest
45
+ env :
46
+ SINGULARITY : 1
47
+ steps :
48
+ - name : Clone Github Repo Action
49
+ uses : actions/checkout@v4
50
+ - name : singularity setup
51
+ uses : ./.github/actions/singularity-setup
52
+ - name : Generate instruction appendix
53
+ run : ./do gen:instruction_appendix
107
54
regress-cfg-manual :
108
55
runs-on : ubuntu-latest
109
56
env :
110
57
SINGULARITY : 1
111
58
steps :
112
59
- name : Clone Github Repo Action
113
60
uses : actions/checkout@v4
114
- - name : Setup apptainer
115
- uses : eWaterCycle/setup-apptainer@v2.0.0
116
- - name : Get container from cache
117
- id : cache-sif
118
- uses : actions/cache@v4
119
- with :
120
- path : .singularity/image.sif
121
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
122
- - name : Get gems and node files from cache
123
- id : cache-bundle-npm
124
- uses : actions/cache@v4
125
- with :
126
- path : |
127
- .home/.gems
128
- node_modules
129
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
130
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
131
- name : Build container
132
- run : ./bin/build_container
61
+ - name : singularity setup
62
+ uses : ./.github/actions/singularity-setup
133
63
- name : Generate HTML ISA manual
134
64
run : ./do gen:html[example_rv64_with_overlay]
135
65
regress-gen-ext-pdf :
@@ -142,25 +72,8 @@ jobs:
142
72
steps :
143
73
- name : Clone Github Repo Action
144
74
uses : actions/checkout@v4
145
- - name : Setup apptainer
146
- uses : eWaterCycle/setup-apptainer@v2.0.0
147
- - name : Get container from cache
148
- id : cache-sif
149
- uses : actions/cache@v4
150
- with :
151
- path : .singularity/image.sif
152
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
153
- - name : Get gems and node files from cache
154
- id : cache-bundle-npm
155
- uses : actions/cache@v4
156
- with :
157
- path : |
158
- .home/.gems
159
- node_modules
160
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
161
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
162
- name : Build container
163
- run : ./bin/build_container
75
+ - name : singularity setup
76
+ uses : ./.github/actions/singularity-setup
164
77
- name : Generate extension PDF
165
78
run : ./do gen:ext_pdf
166
79
regress-gen-certificate :
@@ -170,25 +83,8 @@ jobs:
170
83
steps :
171
84
- name : Clone Github Repo Action
172
85
uses : actions/checkout@v4
173
- - name : Setup apptainer
174
- uses : eWaterCycle/setup-apptainer@v2.0.0
175
- - name : Get container from cache
176
- id : cache-sif
177
- uses : actions/cache@v4
178
- with :
179
- path : .singularity/image.sif
180
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
181
- - name : Get gems and node files from cache
182
- id : cache-bundle-npm
183
- uses : actions/cache@v4
184
- with :
185
- path : |
186
- .home/.gems
187
- node_modules
188
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
189
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
190
- name : Build container
191
- run : ./bin/build_container
86
+ - name : singularity setup
87
+ uses : ./.github/actions/singularity-setup
192
88
- name : Generate extension PDF
193
89
run : ./do gen:cert_model_pdf[MockCertificateModel]
194
90
regress-gen-profile :
@@ -198,25 +94,8 @@ jobs:
198
94
steps :
199
95
- name : Clone Github Repo Action
200
96
uses : actions/checkout@v4
201
- - name : Setup apptainer
202
- uses : eWaterCycle/setup-apptainer@v2.0.0
203
- - name : Get container from cache
204
- id : cache-sif
205
- uses : actions/cache@v4
206
- with :
207
- path : .singularity/image.sif
208
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
209
- - name : Get gems and node files from cache
210
- id : cache-bundle-npm
211
- uses : actions/cache@v4
212
- with :
213
- path : |
214
- .home/.gems
215
- node_modules
216
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
217
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
218
- name : Build container
219
- run : ./bin/build_container
97
+ - name : singularity setup
98
+ uses : ./.github/actions/singularity-setup
220
99
- name : Generate extension PDF
221
100
run : ./do gen:profile[MockProfileRelease]
222
101
regress-gen-go :
@@ -226,24 +105,7 @@ jobs:
226
105
steps :
227
106
- name : Clone Github Repo Action
228
107
uses : actions/checkout@v4
229
- - name : Setup apptainer
230
- uses : eWaterCycle/setup-apptainer@v2.0.0
231
- - name : Get container from cache
232
- id : cache-sif
233
- uses : actions/cache@v4
234
- with :
235
- path : .singularity/image.sif
236
- key : ${{ hashFiles('container.def', 'bin/.container-tag') }}
237
- - name : Get gems and node files from cache
238
- id : cache-bundle-npm
239
- uses : actions/cache@v4
240
- with :
241
- path : |
242
- .home/.gems
243
- node_modules
244
- key : ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
245
- - if : ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
246
- name : Build container
247
- run : ./bin/build_container
108
+ - name : singularity setup
109
+ uses : ./.github/actions/singularity-setup
248
110
- name : Generate Go code
249
111
run : ./do gen:go
0 commit comments