File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,28 @@ jobs:
255
255
env :
256
256
TARGET : ${{ matrix.target.tuple }}
257
257
258
+ # Check that the generated files agree with the checked-in versions.
259
+ check-stdarch-gen :
260
+ needs : [style]
261
+ name : Build std_detect
262
+ runs-on : ubuntu-latest
263
+ steps :
264
+ - uses : actions/checkout@v4
265
+ - name : Install Rust
266
+ run : rustup update nightly && rustup default nightly
267
+ - name : Check arm spec
268
+ run : |
269
+ cargo run --bin=stdarch-gen-arm --release -- crates/stdarch-gen-arm/spec
270
+ git diff --exit-code
271
+ - name : Check lsx.spec
272
+ run : |
273
+ cargo run --bin=stdarch-gen-loongarch -- crates/stdarch-gen-loongarch/lsx.spec
274
+ git diff --exit-code
275
+ - name : Check lasx.spec
276
+ run : |
277
+ cargo run --bin=stdarch-gen-loongarch -- crates/stdarch-gen-loongarch/lasx.spec
278
+ git diff --exit-code
279
+
258
280
build-std-detect :
259
281
needs : [style]
260
282
name : Build std_detect
@@ -271,6 +293,7 @@ jobs:
271
293
- verify
272
294
- test
273
295
- build-std-detect
296
+ - check-stdarch-gen
274
297
runs-on : ubuntu-latest
275
298
# We need to ensure this job does *not* get skipped if its dependencies fail,
276
299
# because a skipped job is considered a success by GitHub. So we have to
You can’t perform that action at this time.
0 commit comments