Merge pull request #75 from quake/quake/libc #37
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: 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 |