Skip to content

Merge pull request #67 from xxuejie/build-with-clang #2

Merge pull request #67 from xxuejie/build-with-clang

Merge pull request #67 from xxuejie/build-with-clang #2

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