-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci.yml
28 lines (24 loc) · 984 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image: ubuntu:noble
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get update
# Install build dependencies
- apt-get -yqq install git lsb-release sudo vim gnupg openjdk-17-jdk verilator gcc-riscv64-unknown-elf curl make gcc g++
# Install dependencies needed for adding the sbt repo
- apt-get install apt-transport-https gnupg curl -yqq
# Add keyserver for SBT
- 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
# Install SBT
- apt-get update -yqq
- apt-get install sbt -yqq
scalafmt:
script:
- sbt scalafmtCheck
test:
script:
# Execute base RV32IM tests on the static pipeline
- make RISCV_PREFIX=riscv64-unknown-elf -C tests
# Execute base RV32IM tests on the dynamic pipeline
- make RISCV_PREFIX=riscv64-unknown-elf CORE=riscv.CoreDynamicExtMem -C tests