Explain conversion of AUIPC
and LUI
(#755)
#3028
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: Tests | |
on: | |
merge_group: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
jobs: | |
tests: | |
name: Run Tests | |
timeout-minutes: 30 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
targets: riscv32im-unknown-none-elf | |
# TODO(Matthias): see whether we can keep this in sync with rust-toolchain.toml automatically? | |
toolchain: nightly-2024-12-06 | |
- name: Cargo cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
guest/target/ | |
key: tests-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: tests-${{ runner.os }}-cargo- | |
- name: Install cargo make | |
run: | | |
cargo make --version || cargo install cargo-make | |
- name: run test | |
run: cargo make tests |