From 262513e2e701dfdb6b66091939b172757c86c24c Mon Sep 17 00:00:00 2001 From: Vacantron Chen Date: Wed, 21 Aug 2024 21:58:00 +0800 Subject: [PATCH] Miscellaneous changes --- .github/workflows/build-artifact.yml | 22 ++++++------ docs/prebuilt.md | 50 ++++++++++++++-------------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml index 3bce66e2..fc5b84bc 100644 --- a/.github/workflows/build-artifact.yml +++ b/.github/workflows/build-artifact.yml @@ -7,16 +7,16 @@ 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: | @@ -24,19 +24,19 @@ jobs: 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 diff --git a/docs/prebuilt.md b/docs/prebuilt.md index a6eb30f9..f06e28ad 100644 --- a/docs/prebuilt.md +++ b/docs/prebuilt.md @@ -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]