Skip to content

Commit fd2ec1c

Browse files
committed
separate tests depending on backend
1 parent 69692a9 commit fd2ec1c

File tree

12 files changed

+33
-3315
lines changed

12 files changed

+33
-3315
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@ jobs:
3636
toolchain: ${{ matrix.toolchain }}
3737
targets: riscv32i-unknown-none-elf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv64gc-unknown-none-elf
3838
- name: Build riscv32i-unknown-none-elf
39-
run: RUSTFLAGS=$RUSTFLAGS cargo build --workspace --target riscv32i-unknown-none-elf --features=${{ matrix.cargo_flags }}
39+
run: RUSTFLAGS=$RUSTFLAGS cargo build --target riscv32i-unknown-none-elf --features=${{ matrix.cargo_flags }}
4040
- name: Build riscv32imc-unknown-none-elf
41-
run: RUSTFLAGS=$RUSTFLAGS cargo build --workspace --target riscv32imc-unknown-none-elf --features=${{ matrix.cargo_flags }}
41+
run: RUSTFLAGS=$RUSTFLAGS cargo build --target riscv32imc-unknown-none-elf --features=${{ matrix.cargo_flags }}
4242
- name: Build riscv32imac-unknown-none-elf
43-
run: RUSTFLAGS=$RUSTFLAGS cargo build --target riscv32imac-unknown-none-elf --workspace --features=${{ matrix.cargo_flags }}
43+
run: RUSTFLAGS=$RUSTFLAGS cargo build --target riscv32imac-unknown-none-elf --features=${{ matrix.cargo_flags }}
4444
- name: Build riscv64gc-unknown-none-elf (no example)
4545
run: cargo build --target riscv64gc-unknown-none-elf --features=${{ matrix.cargo_flags }}
46+
- name: Build CLINT backend examples
47+
run: RUSTFLAGS=$RUSTFLAGS cargo build --package tests-clint
48+
- name: Build MECALL backend examples
49+
run: RUSTFLAGS=$RUSTFLAGS cargo build --package tests-mecall

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
members = [
33
"riscv-slic",
44
"riscv-slic-macros",
5-
"hifive1-test",
5+
"tests-clint",
6+
"tests-mecall",
67
]
78
default-members = [
89
"riscv-slic",
File renamed without changes.

hifive1-test/Cargo.toml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)