Skip to content

Commit b5520e4

Browse files
authored
Create scala.yml
1 parent ff5a285 commit b5520e4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/scala.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Scala CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v4
21+
with:
22+
java-version: '11'
23+
distribution: 'temurin'
24+
cache: 'sbt'
25+
- name: Setup Verilator
26+
run: sudo apt-get install verilator
27+
- name: Run tests
28+
run: sbt test

0 commit comments

Comments
 (0)