3636 with :
3737 path : ext/llvm-project/riscv.json
3838 key : ${{ runner.os }}-riscv-json-${{ env.LLVM_SHA }}
39- restore-keys : |
40- ${{ runner.os }}-riscv-json-
4139 - name : singularity setup
4240 uses : ./.github/actions/singularity-setup
4341 - name : Run smoke
6462 uses : actions/checkout@v4
6563 - name : singularity setup
6664 uses : ./.github/actions/singularity-setup
67- - name : Generate instruction appendix
68- run : ./do gen:instruction_appendix
65+ - name : Generate instruction appendix asciidoc
66+ run : ./do gen:instruction_appendix_adoc
67+ - name : Check instruction appendix result
68+ run : ./do test:instruction_appendix
6969 regress-cfg-manual :
7070 runs-on : ubuntu-latest
7171 env :
@@ -130,14 +130,12 @@ jobs:
130130 with :
131131 path : ext/llvm-project/riscv.json
132132 key : ${{ runner.os }}-riscv-json-${{ env.LLVM_SHA }}
133- restore-keys : |
134- ${{ runner.os }}-riscv-json-
135133 - name : Initialize LLVM submodule (shallow + sparse)
136134 if : ${{ steps.cache-riscv.outputs.cache-hit != 'true' }}
137135 run : |
136+ rm -rf ext/llvm-project
138137 git submodule sync --recursive
139138 git submodule update --init --recursive --depth=1 ext/llvm-project
140-
141139 - name : Check for required directories and files
142140 if : ${{ steps.cache-riscv.outputs.cache-hit != 'true' }}
143141 run : |
@@ -161,6 +159,11 @@ jobs:
161159 -o ext/llvm-project/riscv.json
162160 - name : Show riscv.json output
163161 run : ls -l ext/llvm-project/riscv.json
162+ - name : Upload RISC-V JSON as Artifact
163+ uses : actions/upload-artifact@v4
164+ with :
165+ name : riscv-json
166+ path : ext/llvm-project/riscv.json
164167 regress-gen-go :
165168 runs-on : ubuntu-latest
166169 env :
@@ -172,6 +175,17 @@ jobs:
172175 uses : ./.github/actions/singularity-setup
173176 - name : Generate Go code
174177 run : ./do gen:go
178+ regress-gen-c-header :
179+ runs-on : ubuntu-latest
180+ env :
181+ SINGULARITY : 1
182+ steps :
183+ - name : Clone Github Repo Action
184+ uses : actions/checkout@v4
185+ - name : singularity setup
186+ uses : ./.github/actions/singularity-setup
187+ - name : Generate c_header code
188+ run : ./do gen:c_header
175189 regress-cpp-unit :
176190 runs-on : ubuntu-latest
177191 env :
@@ -182,4 +196,4 @@ jobs:
182196 - name : singularity setup
183197 uses : ./.github/actions/singularity-setup
184198 - name : Run cpp unit tests
185- run : ./do test:cpp_hart CONFIG=rv64
199+ run : ./do test:cpp_hart CONFIG=rv64 JOBS=4
0 commit comments