Skip to content

Commit 262513e

Browse files
committed
Miscellaneous changes
1 parent 1a83bdb commit 262513e

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

.github/workflows/build-artifact.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,36 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
detect-files-changed:
10+
detect-file-change:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515
with:
1616
submodules: 'true'
17-
- name: Test files changed
18-
id: files-changed
19-
uses: tj-actions/changed-files@v44
17+
- name: Test file change
18+
id: test-file-change
19+
uses: tj-actions/changed-files@v45
2020
with:
2121
fetch_additional_submodule_history: 'true'
2222
files: |
2323
tests/ansibench/*
2424
tests/rv8-bench/*
2525
tests/*.c
2626
- name: Set alias
27-
id: has_files_changed
27+
id: has_changed_files
2828
run: |
29-
if [[ ${{ steps.files-changed.outputs.any_modified }} == true ]]; then
30-
echo "has_files_changed=true" >> $GITHUB_OUTPUT
29+
if [[ ${{ steps.test-file-change.outputs.any_modified }} == true ]]; then
30+
echo "has_changed_files=true" >> $GITHUB_OUTPUT
3131
else
32-
echo "has_files_changed=false" >> $GITHUB_OUTPUT
32+
echo "has_changed_files=false" >> $GITHUB_OUTPUT
3333
fi
3434
outputs:
35-
has_files_changed: ${{ steps.has_files_changed.outputs.has_files_changed }}
35+
has_changed_files: ${{ steps.has_changed_files.outputs.has_changed_files }}
3636

3737
build-artifact:
38-
needs: [detect-files-changed]
39-
if: ${{ needs.detect-files-changed.outputs.has_files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
38+
needs: [detect-file-change]
39+
if: ${{ needs.detect-file-change.outputs.has_changed_files == 'true' || github.event_name == 'workflow_dispatch' }}
4040
runs-on: ubuntu-22.04
4141
steps:
4242
- name: Checkout repository

docs/prebuilt.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,34 @@ The prebuilt binaries in `rv32emu-prebuilt` are built from the following reposit
3434
- primes
3535
- qsort
3636
- sha512
37-
- `captcha` : See [tests/captcha.c](tests/captcha.c)
38-
- `donut` : See [donut.c](tests/donut.c)
39-
- `fcalc` : See [fcalc.c](tests/fcalc.c)
40-
- `hamilton` : See [hamilton.c](tests/hamilton.c)
41-
- `jit` : See [tests/jit.c](tests/jit.c)
42-
- `lena`: See [tests/lena.c](tests/lena.c)
43-
- `line` : See [tests/line.c](tests/line.c)
44-
- `maj2random` : See [tests/maj2random.c](tests/maj2random.c)
45-
- `mandelbrot` : See [tests/mandelbrot.c](tests/mandelbrot.c)
46-
- `nqueens` : See [tests/nqueens.c](tests/nqueens.c)
47-
- `nyancat` : See [tests/nyancat.c](tests/nyancat.c)
48-
- `pi` : See [tests/pi.c](tests/pi.c)
49-
- `puzzle` : See [tests/puzzle.c](tests/puzzle.c)
50-
- `qrcode` : See [tests/qrcode.c](tests/qrcode.c)
51-
- `richards` : See [tests/richards.c](tests/richards.c)
52-
- `rvsim` : See [tests/rvsim.c](tests/rvsim.c)
53-
- `spirograph` : See [tests/spirograph.c](tests/spirograph.c)
54-
- `uaes` : See [tests/uaes.c](tests/uaes.c)
37+
- `captcha` : See [tests/captcha.c](/tests/captcha.c)
38+
- `donut` : See [tests/donut.c](/tests/donut.c)
39+
- `fcalc` : See [tests/fcalc.c](/tests/fcalc.c)
40+
- `hamilton` : See [tests/hamilton.c](/tests/hamilton.c)
41+
- `jit` : See [tests/jit.c](/tests/jit.c)
42+
- `lena`: See [tests/lena.c](/tests/lena.c)
43+
- `line` : See [tests/line.c](/tests/line.c)
44+
- `maj2random` : See [tests/maj2random.c](/tests/maj2random.c)
45+
- `mandelbrot` : See [tests/mandelbrot.c](/tests/mandelbrot.c)
46+
- `nqueens` : See [tests/nqueens.c](/tests/nqueens.c)
47+
- `nyancat` : See [tests/nyancat.c](/tests/nyancat.c)
48+
- `pi` : See [tests/pi.c](/tests/pi.c)
49+
- `puzzle` : See [tests/puzzle.c](/tests/puzzle.c)
50+
- `qrcode` : See [tests/qrcode.c](/tests/qrcode.c)
51+
- `richards` : See [tests/richards.c](/tests/richards.c)
52+
- `rvsim` : See [tests/rvsim.c](/tests/rvsim.c)
53+
- `spirograph` : See [tests/spirograph.c](/tests/spirograph.c)
54+
- `uaes` : See [tests/uaes.c](/tests/uaes.c)
5555

5656
There are still some prebuilt standalone RISC-V binaries under `build/` directory only for testing purpose:
5757

58-
- `hello.elf` : See [tests/asm-hello](tests/asm-hello)
59-
- `cc.elf` : See [tests/cc](tests/cc)
60-
- `chacha20.elf` : See [tests/chacha20](tests/chacha20)
58+
- `hello.elf` : See [tests/asm-hello](/tests/asm-hello)
59+
- `cc.elf` : See [tests/cc](/tests/cc)
60+
- `chacha20.elf` : See [tests/chacha20](/tests/chacha20)
6161
- `doom.elf` : See [sysprog21/doom_riscv](https://github.com/sysprog21/doom_riscv) [RV32M]
62-
- `ieee754.elf` : See [tests/ieee754.c](tests/ieee754.c) [RV32F]
62+
- `ieee754.elf` : See [tests/ieee754.c](/tests/ieee754.c) [RV32F]
6363
- `jit-bf.elf` : See [ezaki-k/xkon_beta](https://github.com/ezaki-k/xkon_beta)
6464
- `quake.elf` : See [sysprog21/quake-embedded](https://github.com/sysprog21/quake-embedded) [RV32F]
65-
- `readelf.elf` : See [tests/readelf](tests/readelf)
66-
- `scimark2.elf` : See [tests/scimark2](tests/scimark2) [RV32MF]
67-
- `smolnes.elf` : See [tests/smolnes](tests/smolnes.c) [RV32M]
65+
- `readelf.elf` : See [tests/readelf](/tests/readelf)
66+
- `scimark2.elf` : See [tests/scimark2](/tests/scimark2) [RV32MF]
67+
- `smolnes.elf` : See [tests/smolnes](/tests/smolnes.c) [RV32M]

0 commit comments

Comments
 (0)