Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Nov 21, 2024
1 parent fd8764f commit 28580c2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Deps
run: |
wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 18 && rm llvm.sh
rustup target add riscv64imac-unknown-none-elf
- name: Install Rust components
run: rustup component add rustfmt clippy
- name: Check format
Expand All @@ -19,4 +23,7 @@ jobs:
run: cargo build
- name: Run cargo test
run: cargo test --all

- name: Build native-simulator test contracts
run: cd tests/test-contracts && make build
- name: Run cargo test (with native-simulator)
run: cargo test --features="native-simulator" --all

0 comments on commit 28580c2

Please sign in to comment.