fix byteswap for VLEN>256, and add initial CI #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate bench | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
run: | | |
sudo sed 's/jammy/devel/g' -i /etc/apt/sources.list | |
sudo apt-get update -q -y | |
sudo apt-get install -y make qemu-user-static clang-17 | |
- name: Validate RV64 | |
run: | | |
cp .github/workflows/rv64-config.mk ./config.mk | |
cp .github/workflows/rv64-run.sh ./run.sh | |
cp .github/workflows/bench-config.h ./bench/config.h | |
make -C bench run -j$(nproc) | |
make -C bench clean | |
- name: Validate RV32 | |
run: | | |
cp .github/workflows/rv32-config.mk ./config.mk | |
cp .github/workflows/rv32-run.sh ./run.sh | |
cp .github/workflows/bench-config.h ./bench/config.h | |
make -C bench run -j$(nproc) | |
make -C bench clean |