Skip to content

chore: tweak cargo.toml and build.rs #33

chore: tweak cargo.toml and build.rs

chore: tweak cargo.toml and build.rs #33

name: Build with clang
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install llvm 16
run: wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 16 && rm llvm.sh
- name: Install riscv64 target
run: rustup target add riscv64imac-unknown-none-elf
- name: Build
run: cargo build --verbose --target=riscv64imac-unknown-none-elf --features=build-with-clang