Skip to content

Commit

Permalink
Install sbt from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
martonbognar committed Dec 10, 2024
1 parent bbf4a64 commit d66e4fd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:
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: |
curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup --yes
export PATH="$PATH:~/.local/share/coursier/bin"
- name: Run Scalafmt
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
run: sbt scalafmtCheck
- name: Static pipeline riscv-tests
run: make RISCV_PREFIX=riscv64-unknown-elf -C tests
Expand Down

0 comments on commit d66e4fd

Please sign in to comment.