mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
76a30fd572
Arguably not meaningful, as it adds the scanner yet not the RPC, and no signing code since modular-frost doesn't support no-std yet. It's a step in the right direction though.
37 lines
789 B
YAML
37 lines
789 B
YAML
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@v3
|
|
|
|
- name: Install Build Dependencies
|
|
uses: ./.github/actions/build-dependencies
|
|
with:
|
|
github-token: ${{ inputs.github-token }}
|
|
|
|
- name: Install RISC-V Toolchain
|
|
run: sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib
|
|
|
|
- name: Verify no-std builds
|
|
run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf
|