Skip to content

Commit

Permalink
Miscellaneous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vacantron committed Aug 21, 2024
1 parent 1a83bdb commit 262513e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ on:
workflow_dispatch:

jobs:
detect-files-changed:
detect-file-change:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Test files changed
id: files-changed
uses: tj-actions/changed-files@v44
- name: Test file change
id: test-file-change
uses: tj-actions/changed-files@v45
with:
fetch_additional_submodule_history: 'true'
files: |
tests/ansibench/*
tests/rv8-bench/*
tests/*.c
- name: Set alias
id: has_files_changed
id: has_changed_files
run: |
if [[ ${{ steps.files-changed.outputs.any_modified }} == true ]]; then
echo "has_files_changed=true" >> $GITHUB_OUTPUT
if [[ ${{ steps.test-file-change.outputs.any_modified }} == true ]]; then
echo "has_changed_files=true" >> $GITHUB_OUTPUT
else
echo "has_files_changed=false" >> $GITHUB_OUTPUT
echo "has_changed_files=false" >> $GITHUB_OUTPUT
fi
outputs:
has_files_changed: ${{ steps.has_files_changed.outputs.has_files_changed }}
has_changed_files: ${{ steps.has_changed_files.outputs.has_changed_files }}

build-artifact:
needs: [detect-files-changed]
if: ${{ needs.detect-files-changed.outputs.has_files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
needs: [detect-file-change]
if: ${{ needs.detect-file-change.outputs.has_changed_files == 'true' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand Down
50 changes: 25 additions & 25 deletions docs/prebuilt.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,34 +34,34 @@ The prebuilt binaries in `rv32emu-prebuilt` are built from the following reposit
- primes
- qsort
- sha512
- `captcha` : See [tests/captcha.c](tests/captcha.c)
- `donut` : See [donut.c](tests/donut.c)
- `fcalc` : See [fcalc.c](tests/fcalc.c)
- `hamilton` : See [hamilton.c](tests/hamilton.c)
- `jit` : See [tests/jit.c](tests/jit.c)
- `lena`: See [tests/lena.c](tests/lena.c)
- `line` : See [tests/line.c](tests/line.c)
- `maj2random` : See [tests/maj2random.c](tests/maj2random.c)
- `mandelbrot` : See [tests/mandelbrot.c](tests/mandelbrot.c)
- `nqueens` : See [tests/nqueens.c](tests/nqueens.c)
- `nyancat` : See [tests/nyancat.c](tests/nyancat.c)
- `pi` : See [tests/pi.c](tests/pi.c)
- `puzzle` : See [tests/puzzle.c](tests/puzzle.c)
- `qrcode` : See [tests/qrcode.c](tests/qrcode.c)
- `richards` : See [tests/richards.c](tests/richards.c)
- `rvsim` : See [tests/rvsim.c](tests/rvsim.c)
- `spirograph` : See [tests/spirograph.c](tests/spirograph.c)
- `uaes` : See [tests/uaes.c](tests/uaes.c)
- `captcha` : See [tests/captcha.c](/tests/captcha.c)
- `donut` : See [tests/donut.c](/tests/donut.c)
- `fcalc` : See [tests/fcalc.c](/tests/fcalc.c)
- `hamilton` : See [tests/hamilton.c](/tests/hamilton.c)
- `jit` : See [tests/jit.c](/tests/jit.c)
- `lena`: See [tests/lena.c](/tests/lena.c)
- `line` : See [tests/line.c](/tests/line.c)
- `maj2random` : See [tests/maj2random.c](/tests/maj2random.c)
- `mandelbrot` : See [tests/mandelbrot.c](/tests/mandelbrot.c)
- `nqueens` : See [tests/nqueens.c](/tests/nqueens.c)
- `nyancat` : See [tests/nyancat.c](/tests/nyancat.c)
- `pi` : See [tests/pi.c](/tests/pi.c)
- `puzzle` : See [tests/puzzle.c](/tests/puzzle.c)
- `qrcode` : See [tests/qrcode.c](/tests/qrcode.c)
- `richards` : See [tests/richards.c](/tests/richards.c)
- `rvsim` : See [tests/rvsim.c](/tests/rvsim.c)
- `spirograph` : See [tests/spirograph.c](/tests/spirograph.c)
- `uaes` : See [tests/uaes.c](/tests/uaes.c)

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

- `hello.elf` : See [tests/asm-hello](tests/asm-hello)
- `cc.elf` : See [tests/cc](tests/cc)
- `chacha20.elf` : See [tests/chacha20](tests/chacha20)
- `hello.elf` : See [tests/asm-hello](/tests/asm-hello)
- `cc.elf` : See [tests/cc](/tests/cc)
- `chacha20.elf` : See [tests/chacha20](/tests/chacha20)
- `doom.elf` : See [sysprog21/doom_riscv](https://github.com/sysprog21/doom_riscv) [RV32M]
- `ieee754.elf` : See [tests/ieee754.c](tests/ieee754.c) [RV32F]
- `ieee754.elf` : See [tests/ieee754.c](/tests/ieee754.c) [RV32F]
- `jit-bf.elf` : See [ezaki-k/xkon_beta](https://github.com/ezaki-k/xkon_beta)
- `quake.elf` : See [sysprog21/quake-embedded](https://github.com/sysprog21/quake-embedded) [RV32F]
- `readelf.elf` : See [tests/readelf](tests/readelf)
- `scimark2.elf` : See [tests/scimark2](tests/scimark2) [RV32MF]
- `smolnes.elf` : See [tests/smolnes](tests/smolnes.c) [RV32M]
- `readelf.elf` : See [tests/readelf](/tests/readelf)
- `scimark2.elf` : See [tests/scimark2](/tests/scimark2) [RV32MF]
- `smolnes.elf` : See [tests/smolnes](/tests/smolnes.c) [RV32M]

0 comments on commit 262513e

Please sign in to comment.