Refactoring 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: Develop Rust | |
on: | |
pull_request: | |
push: | |
jobs: | |
develop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Deps | |
run: | | |
rustup target add riscv64imac-unknown-none-elf | |
cargo install cross --git https://github.com/cross-rs/cross --rev=6982b6c | |
cargo install ckb-capsule --git https://github.com/nervosnetwork/capsule --rev 5c1b2ce | |
- name: Test | |
run: | | |
cargo build --target=riscv64imac-unknown-none-elf --no-default-features --features=ckb-types,allocator | |
cross check --examples | |
make test |