Use OptimisticTransactionDb #416
Workflow file for this run
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: no-std build | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- "common/**" | |
- "crypto/**" | |
- "coins/**" | |
- "tests/no-std/**" | |
pull_request: | |
paths: | |
- "common/**" | |
- "crypto/**" | |
- "coins/**" | |
- "tests/no-std/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Install Build Dependencies | |
uses: ./.github/actions/build-dependencies | |
- name: Install RISC-V Toolchain | |
run: sudo apt update && sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib && rustup target add riscv32imac-unknown-none-elf | |
- name: Verify no-std builds | |
run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf |