Skip to content

Commit de3ea3e

Browse files
authored
feat(llvm-test): upload riscv.json to github (#740)
riscv.json is llvm-tablegen for risc-v. Uploading it to github actions, allows users to download it, instead of building it locally. Signed-off-by: Afonso Oliveira <[email protected]>
1 parent a31a78e commit de3ea3e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/regress.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ jobs:
134134
rm -rf ext/llvm-project
135135
git submodule sync --recursive
136136
git submodule update --init --recursive --depth=1 ext/llvm-project
137-
138137
- name: Check for required directories and files
139138
if: ${{ steps.cache-riscv.outputs.cache-hit != 'true' }}
140139
run: |
@@ -158,6 +157,11 @@ jobs:
158157
-o ext/llvm-project/riscv.json
159158
- name: Show riscv.json output
160159
run: ls -l ext/llvm-project/riscv.json
160+
- name: Upload RISC-V JSON as Artifact
161+
uses: actions/upload-artifact@v4
162+
with:
163+
name: riscv-json
164+
path: ext/llvm-project/riscv.json
161165
regress-gen-go:
162166
runs-on: ubuntu-latest
163167
env:

0 commit comments

Comments
 (0)