Skip to content

Install sbt from repository #43

Install sbt from repository

Install sbt from repository #43

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / CI checks

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 24, Col: 9): 'name' is already defined .github/workflows/ci.yml (Line: 25, Col: 9): 'run' is already defined
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