Install sbt from repository #43
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: CI checks | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Install native dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -yqq install git lsb-release sudo vim gnupg openjdk-17-jdk verilator gcc-riscv64-unknown-elf curl make gcc g++ | ||
- name: Install sbt | ||
run: | | ||
apt-get install apt-transport-https gnupg curl -yqq | ||
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list | ||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 | ||
apt-get update -yqq | ||
apt-get install sbt -yqq | ||
name: Run Scalafmt | ||
Check failure on line 24 in .github/workflows/ci.yml
|
||
run: sbt scalafmtCheck | ||
- name: Static pipeline riscv-tests | ||
run: make RISCV_PREFIX=riscv64-unknown-elf -C tests | ||
- name: Dynamic pipeline riscv-tests | ||
run: make RISCV_PREFIX=riscv64-unknown-elf CORE=riscv.CoreDynamicExtMem -C tests |