From 0e7a620eae711e20166a00805377cecf0f5c86d5 Mon Sep 17 00:00:00 2001 From: joii2020 Date: Thu, 21 Nov 2024 14:11:58 +0800 Subject: [PATCH] Update CI --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9a5ff45..e6e1b54 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,4 +19,7 @@ jobs: run: cargo build - name: Run cargo test run: cargo test --all - \ No newline at end of file + - name: Build native-simulator test contracts + run: cd tests/test-contracts && rustup target add riscv64imac-unknown-none-elf && make build + - name: Run cargo test (with native-simulator) + run: cargo test --features="native-simulator" --all